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 a record and save in the File object + download.
  • Custom Button URL (Attachment+Download): Attach to a record and save in the 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 select 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 a record and save in the File object.
  • attachment: Attach to a record and save in the Memo and Attachment object.

 

"(Button XX) Download" property

Selected

 

Access Permissions for Files Attached to Records

Set access permissions for the file (File object) attached to the record. Enter the values in 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 access to the record 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

Ver.2 New Version Released – Added File save + download option, etc.