You need to 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.

Prerequisite

You need to enable the comply system property—Enable Online Contract Collaboration. For more information, see Comply System Properties.

To configure the Documents tab

  1. Navigate to the Agreement Detail page.
  2. Click the Setup icon and select the Edit Object option.
    This displays the Agreement Object page.

    If you want to permit users to use Online Contract Collaboration only for certain record types, you need to perform the following tasks:

    1. Navigate to an agreement that contains the desired record type.
    2. Click the Setup icon and select the Edit Page option.
    3. Follow the steps mentioned below from 3 to 13. 
  3. Click Lightning Record PagesAgreement Record Page.
    This displays the Lightning Page Detail page.
  4. Click Edit.
    This displays the Agreement Record page.
  5. In the layout, click the Details tab.
    This displays a tabs component in the right panel.
  6. Click the Add Tab button.
    This adds another Details tab in the layout.
  7.  In the tabs component, select the newly added Details tab.
     
  8. From the Tab Label, select Custom.
    This displays the Custom Label text field.
  9. In the Custom Label field, enter Documents.
  10. In the layout click the Documents tab.
  11. In the left panel, search for agreementDocuments.
  12. Drag agreementDocuments from the left panel and drop in the Add Component(s) here section.
    This displays all the documents available in the agreement.
  13. Click Save.
    If you are configuring the page layout for the first time in your org, then you need to activate the page.

You need to remove the Documents tab if you disable the Enable Online Contract Collaboration property as the Documents tab is displayed once configured irrespective of the property.