Skip to main content
Skip table of contents

How to manage Files with Salesforce CRM content

The best way to manage Documill Dynamo templates, and control their access, is to use Salesforce CRM Content. CRM Content allows the use of content libraries and their permissions. This is extremely useful in managing Documill Dynamo templates and determining which users have access to them.

A user must have access to the template file in order to generate documents using it.

Enable Salesforce CRM Content

  1. From Setup, enter Salesforce CRM Content in the Quick Find box, select Salesforce CRM Content, and then select Enable Salesforce CRM Content.

    image-20240103-071238.png

  2. Give users access to Salesforce CRM Content by assigning feature licenses in one of the following ways:

    • To assign feature licenses to users automatically, from Setup, enter Salesforce CRM Content in the Quick Find box, select Salesforce CRM Content, and then select Autoassign feature licenses to existing and new users.

      image-20240103-071334.png
    • To assign feature licenses to users manually, from Setup, enter Users in the Quick Find box, then select Users and click Edit next to the user's name. Select the Salesforce CRM Content User checkbox and click Save.

      image-20240104-093339.png


  3. Verify that the Salesforce CRM Content users have the Salesforce CRM Content user permissions enabled. The user permissions include Manage Salesforce CRM Content, Create Libraries, Manage Content Permissions, Manage Content Properties, Manage record types and layouts for Files, and Deliver Uploaded Files and Personal Content. To add library items as email attachments, a user needs to be a member of the library.

Create Public Groups

  • In Salesforce Classic UI: In Setup, under Administration Setup -> Manage Users, select Public Groups.

  • In Salesforce Lightning UI: In Setup, under Users, select Public Groups.

Click New.

Type in a Label for the public group, the Group Name will be automatically populated. For example, there can be two groups named as "Dynamo End-users" or "Dynamo Administrators"

Grant Access Using Hierarchies does not work with Salesforce CRM Content, so having this checked depends on whether this public group is used to some other purposes also. If this is only used with Dynamo and Content Libraries, leave the check box unselected.

Add users to the public group. This can be done user by user, by roles or by other public groups.

Click Save.

image-20240103-072535.png
  1. Add new users to an existing Public Group

  • In Salesforce Classic UI: In Setup, under Administration Setup -> Manage Users, select Public Groups.

  • In Salesforce Lightning UI: In Setup, under Users, select Public Groups.

Next to the appropriate public group, click Edit.

Add new users one by one, by roles or by other public groups.

Click Save.

Currently, managing Libraries is not available in Lightning Experience. All the creation and configuration need to be done in Classic UI. Nonetheless, all existing libraries and files in libraries will be visible in Lightning UI under Files tab.

  1. Create a Salesforce Library to store Dynamo templates

  2. Go to the File and then Libraries tab.

  3. Under Libraries, click New Library.

    image-20240104-123912.png
  4. Type the library's name in the Name field. For example: "Dynamo Templates"

  5. Click Save.

  6. Find the new library and using the drop down menu select Manage Members

    image-20240104-124014.png


  7. From the drop down menu, select Public Groups. Select Dynamo Administrators and Dynamo Users public groups from the list, and click add.

    image-20240104-124123.png
  8. Grant at least Viewer permissions to those who will compose documents and at least Author permissions to those who will edit templates. For example:

    • Dynamo End-users: Viewer

    • Dynamo Adminstrators: Author

  9. Click Save.

    image-20240104-124153.png
  10. Add Dynamo template files to the Salesforce Library

There are 2 ways to add files to the Salesforce Library. Depends on the situation or the working progress, select the appropriate method below

Upload template files to library using Dynamo

Under Dynamo tab in Office application or in Dynamo Online Editor, select Save or Save As

image-20240104-125128.png


Under Share option, select Library.

Under Share with, select the desired Library

image-20240104-125222.png

Click Save.

Upload files using Salesforce standard feature

In the Libraries tab, select the appropriate Library
In the Library, click on Add Files

image-20240104-130309.png


Choose the Dynamo template file from the device.

image-20240104-130334.png


Select the file and click Done

(Optional) Create custom field and record type for Dynamo templates

A custom field and record type for Dynamo templates can be created. The custom field can look up for the specific object that has been using in Dynamo templates. As the result, the "Create" buttons can be configured: When end-users click the "Create" button in one Salesforce object to generate a new document, Dynamo will add filters to the template list:

  1. Filter the list of templates by "Main Object": only those templates using that object as the "Main Object", instead of listing all Dynamo templates available in Salesforce.

  2. Allow end-users to filter the list dynamically: a drop-down menu above the template list where end-users can filter the available templates based on fields such as Language, Country, for instance.

Best Practices:

  1. The easiest way to manage Libraries' permissions in Salesforce CRM Content is through Public Groups. The recommended setting is to have at least one or two public groups, one for Dynamo End-users and one for Dynamo Administrators.

  2. Create at least one Salesforce Library to store Dynamo template files. One or more libraries can be created for Dynamo templates, where the control to the users is controlled via public groups or user roles. For example, if there is 2 set of template lists for 2 different Business Units, 2 libraries can be created, in which only members of the Business Unit can access to the files:

    • Dynamo Templates BU1

    • Dynamo Templates BU2

  3. Use record type and custom fields to give better descriptions of Dynamo template files. That will help in providing more filtering options in the future.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.