Custom Actions in the NEXT STEPS Panel
You can add custom action buttons in the NEXT STEPS panel along with the standard action buttons. You can also configure a rule to show or hide the standard and custom action buttons based on certain criteria.
You need to configure JSON files in the Object Layout for the following purposes:
- To create custom action buttons to be displayed in the NEXT STEPS panel
- To configure a rule to show or hide the standard or custom action buttons in the NEXT STEPS panel
Adding Custom Button to the NEXT STEPS Panel
You have configured the required workflow or custom code in the Conga Platform. For more information see, Managing Workflows or Managing Custom Code.
- Click the App Launcher (
) icon from the top-left corner > Apps > CX Studio.
- Click Object Layouts in the navigation menu.
- Click Edit Metadata for the record with the following parameter values:
JSON Formats for Custom Actions
You can add custom actions in the application by writing code in JSON format. You can add a custom actions in the application to perform either of the following functions:
-
Navigate
-
Execute Workflow
-
Execute Custom CodeExecute Custom Code
This topic explains how you can write code for different action performs by giving examples for JSON for each action function
- The values for id, key, and actionFunc must be the same.
- The value specified for the label is the button label displayed on the UI.
- In the custom action object, specify the target URL in the params property. Keep the other property values as is.
- The values for id, key, and actionFunc must be the same.
- The value specified for the label is the button label displayed on the UI.
- In the custom action object, specify the custom code name in the params property. Keep the other property values as is.
- The values for id, key, and actionFunc must be the same.
- The value specified for the label is the button label displayed on the UI.
- In the custom action object, specify the workflow ID in the params property. Keep the other property values as is.
Configuring Visibility Rules for Actions in the NEXT STEPS panel
You can configure rules to show or hide the standard and custom action buttons in the NEXT Steps panel based on the criteria.
You have added rule configuration for the action.
When the contract meets the criteria defined in the rule configuration, the action button is shown or hidden accordingly.