The Action Panel is a collection of agreement action buttons that could be enabled for the Agreement Record page in the Lightning Experience mode in Salesforce. Each button in the action panel can be customized to meet your design requirements. The Action Panel is created as a Visualforce Page component and you can include it in your page layout from the Lightning App Builder.

The following configurations for enabling the Action Panel in your org are documented, considering that you have already enabled My Domain in your organization. This step is mandatory for using Lightning Experience in your Salesforce org. To know how to enable My Domain in your org, refer to Salesforce Help page Enable My Domain.

Adding Action Panel to Lightning Record Page

You can add the Action Panel in your Agreement Record page in two ways:

  1. from the Salesforce Classic Agreement Record page, and
  2. from the Lightning App Builder

Adding Action Panel Using Lightning App Builder

To use the Lightning App Builder for configuring Action Panel in your page layout, you have to create a Lightning Record Page. To create this;

  1. Go to Setup> Objects and Fields> Object Manager.
  2. On the Object Manager page click Agreement object.
  3. On the Details page, click Lightning Record Pages from the left-hand navigation.
  4. In the Lightning Record Pages, click New and select Record Page.
  5. Complete the steps in the new page creation wizard.
  6. In the Lightning App Builder, from the left-hand navigation, drag and drop Visualforce component on your layout. You can reorder the components in the page layout, to your liking.
  7. From the right-hand navigation pane, go to Visualforce Page Name field and select LightningAgreementActions from the picklist. You will now see the action panel in your layout
  8. Click Save and then Activate your page, to make the record page available.

For more details on how to customize a Lightning Record Page, refer to Salesforce Help section Configure Lightning Experience Record Pages.

Adding Action Panel from Salesforce Classic

The Action Panel can also be added to the Agreement Record page by editing the page layout in Classic Salesforce. To do this:

  1. Go to Agreements and select an agreement record.
  2. In the Agreement Record Details page click Edit Layout.
  3. From the Layout Designer menu, choose Visualforce Pages.
  4. Drag and drop the LightningAgreementActions visualforce component on to the Agreement Layout.
  5. Click Save.

If you now switch to the Lightning Experience, the Action Panel would be part of the Agreement Record layout.

It is recommended that you enable the Action Panel from the Lightning App Builder for a better user experience, as the Action Panel is not designed according to the Salesforce Classic design. Using the Action Panel with Salesforce Classic mode may lead to an inconsistent user experience.

Customizing Section Labels in Action Panel

You can change the section labels.

  1. Go to Setup > User Interface > Custom Label.
  2. Click the AdditionalActions hyperlink.
  3. Click New Local Translations / Overrides.
  4. From the Language dropdown, select English.
  5. In the Translation Text, enter the custom label name.

Customizing Action Buttons

All the action buttons which are part of the Action Panel can be made visible and configured to suit your needs. For using your own customized buttons in the action panel, you must create custom formula fields with the required logic and add them to the agreement layout. To create a custom formula field for action, follow the naming convention outlined:

  1. Go to Setup> Object Manager> Agreement object.
  2. Click Fields and Relationships from the left navigation panel.
  3. Click New to create a new custom field.
  4. Select Formula data type and click Next.
  5. For Field Label, enter <action_name>_Custom. For example, to create a Generate button, enter Generate_Custom
  6. The value in field label is automatically copied as Field Name when you click anywhere outside the field.
  7. Select the Formula Return Type as Text and click Next.
  8. Enter the formula for your action button.

    To display an action button in the Action Panel, make sure that the formula entered for the custom formula field returns a non-null value. If the formula returns Null value, the action button or field would be hidden in the Action Panel.

  9. Apply the field's access setting and page layout and click Save. Your action button is created.
  10. (Optional) If you do not see the configured custom buttons, you have added many custom buttons and you need to perform the following actions:
    1. Go to Setup > Object Manager > Agreement > Page Layouts > Agreement Layout.
    2. Click the  icon.
    3. Select the Show scrollbars checkbox.
    4. Click OK.

To learn how to create custom fields, refer to Salesforce Help Custom Fields | Salesforce.

The following table lists the actions that can be customized in the Lightning mode:

Action NameField Name
GenerateGenerate_Custom
RegenerateRegenerate_Custom
PreviewPreview_Custom
Generate Supporting Documents

Generate_SupportingDocument_Custom

AmendAmend_Custom
TerminateTerminate_Custom
ExpireExpire_Custom
RenewRenew_Custom
ActivateActivate_Custom
Submit RequestSubmitRequest_Custom
Cancel RequestCancelRequest_Custom
Send For Review

SendForReview_Custom

Send For Signature

SendForSignatures_Custom

Send for DocuSignSendForDocusign_Custom
Send for EchoSign

SendForEchosign_Custom

Check Docusign StatusCheckDocusignStatus_Custom
Import Offline DocumentImportOfflineDocument_Custom
Import Large FileImportLargeFile_Custom
Merge DocumentsMergeDocument_Custom
Upload Signed Document

UploadSignedDocument_Custom

Review Offline DocumentReviewOfflineDocument_Custom
View Agreement HierarchyViewAgreementHierarchy_Custom
In Effect ViewInEffectView_Custom
Upload Reviewed DocumentUploadReviewedDocument_Custom
Send for Conga SignSendForCongaSign_Custom
Office 365 Internal ReviewOffice365InternalReview_Custom__C
Office 365 External ReviewOffice365ExternalReview_Custom__C
Send for Office 365 ReviewOffice365Review_Custom__C
Send for Teams ReviewSendToTeamReview_Custom

Thus, you can create customized links or buttons and then add them to the action panel. For information on configuring the availability of the custom buttons, see Configuring the Availability of Custom Buttons