Offline File Preview From Library

This guide will demonstrate the offline file preview from the library.

  1. Initial Setup:
  • Drag
image
image
  1. Configuring The “Hidden” Field:
  • Here, 0586g000000HsXbAAK the folder record id.
image

Get The Library Folder ID:

  • And run the following SOQL query:

SELECT Id,Name FROM ContentWorkspace

image
  1. Configuring The “Salesforce Select List” Field:
image

FirstPublishLocationId = '{{2562-d7bf-6c49}}’

Here ‘2562-d7bf-6c49’ is the field ID of the Hidden field.

image
image
( function( result ) {
    return result.FirstPublishLocationId == '{{2562-d7bf-6c49}}';
} )
  1. Configuring The “Salesforce File Preview” Field:
image
  1. Configuring The “Salesforce File Sync” Field:

Salesforce File Sync

image
  1. Configuring The “Navigation” Field:
image
  1. Form Setup:
image
image

For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂