Download page Configuring Documents Tab in Lightning.
Configuring Documents Tab in Lightning
You must configure the Documents tab in Lightning to view the documents and options for Online Contract Collaboration. You can also restrict the Online Contract Collaboration feature to be available for particular record types.
You can disable the Delete button on the Documents tab for selected user profiles to prevent the deletion of documents.
To configure the Documents tab
Navigate to the Agreement Detail page.
Click the Setup icon and select the Edit Object option. This displays the Agreement Object page.
To restrict Online Contract Collaboration users only to certain record types:
Navigate to an agreement that contains the desired record type.
Click the Setup icon and select the Edit Page option.
Follow steps 3–13, below.
Click Lightning Record Pages > Agreement Record Page. This displays the Lightning Page Detail page.
Click Edit. This displays the Agreement Record page.
In the layout, click the Details tab. This displays a tabs component in the right panel.
Click the Add Tab button. This adds another Details tab to the layout.
In the tabs component, select the newly added Details tab.
Select Custom from the Tab label. This displays the Custom Label text field.
Enter Documents in the Custom Label field.
Click the Documents tab in the layout.
In the left panel, search for Agreement Documents.
Drag Agreement Documents from the left panel and drop it in the Add Component(s) here section. This displays all documents available in the agreement.
Click Save. If you are configuring the page layout for the first time in your org, then you need to activate the page.
If you disable the Enable Online Contract Collaboration property, remove the Documents tab. Once configured, the Documents tab is displayed, irrespective of the collaboration property.
To disable the Delete button on the Documents tab
Go to Setup > Users > Profiles.
Select a user profile.
Click Object Settings and then click Agreement Documents.
Clear the Delete checkbox in the Object Permissions section. Users assigned to the selected user profile cannot see the Delete button on the Documents tab.