File Save + Download

When a file is attached to a record and saved, it can be downloaded in addition to being saved as a file.

*This function is a feature of Office File Creator Ver.2.

 

Custom Button

When creating the custom button, use the link for saving + downloading the file in the OFC_Template record in the URL of the custom button. For instructions on creating a custom button, refer to Create Custom Button.

 

Link URL for Custom Button

  • Custom Button URL (File+Download) ・・・ Attach to record and save in File object + download.
  • Custom Button URL (Attachment+Download) ・・・ Attach to a record and save in Memo and Attachment object + download.

 

 

Lightning Component Button

When creating the Lightning component button, set the "(Button XX) Save" property of the ofcForRecordPage component to "file" or "attachment" and check on the "(Button XX) Download" property. For instructions on creating a Lightning component button, refer to Create Lightning Component Button.

 

"(Button XX) Save" property

  • file ・・・ Attach to record and save in File object.
  • attachment ・・・ Attach to a record and save in Memo and Attachment object

 

"(Button XX) Download" property

true

 

 

File Access to Linked Record

Set access permissions for the file (File object) attached to the record, enter the " (Optional) Save as File" section of the OFC_Template record.

 

File Access to Linked Record: Select "Viewer" or "Set by Record". The default is "Viewer".

  • Viewer

Users with read-only record access get viewer access to the files attached to the record.

  • Set by Record
    Users with read/write access to a record get collaborator access to the files attached to the record.

 

 

Reference

Office File Creator Ver.2 New Version Release - Added File save + download option, etc.