Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

Page Layout Configuration in CX Studio

A page layout allows you to control the layout and organization of detail and edit pages. It enables you to configure entity information on grid view, manage record-level entities, related lists (sections), and define rules for individual actions and fields. You can configure the following aspects of a page layout through CX Studio Lite:

  • Managing data grid view.
  • Managing content details view. For example, adding standard and custom fields when creating and cloning the clauses.
  • Adding actions to page header.
  • Applying rules.
  • Cloning standard actions. When the action permissions are set, cloning standard actions such as Generate, Activate, Amend are displayed in the CX Studio.

When configuring layouts, keep in mind that the Edit option in the Clause Details page works only with the default layout. If you are using custom or cloned layouts, you must either delete and re-clone the layout from the default, or manually update the layout metadata to incorporate the change.

To manually update a cloned layout, add the following line in the layout metadata:
"saveActionFunc": "clause::onSave"

For more information, see CX Studio: Page Layout Editor.

Assign a Page Layout by Record Type and User Profile

You can also assign page layouts based on record type and user profile. You can configure different layouts for different contract types for the same user profile, or different layouts for the same contract type for different user profiles.

If the user has access to one record type, the page layout assigned to the record type or the user profile is displayed when the user initiates record creation. A user with access to more than one record type must select a record type based on which the corresponding page layout is displayed.

Control the Display of Owner and Owner Type Fields

You can control the display of the Owner and Owner Type fields in the page header. By default, these fields are visible. To hide them, disable the hide-contract-detail-page-header-owner feature flag.

Validation and Visibility Rules

You can set visibility or validation rules for page header actions, page tabs, sections within a detail page, and fields. For example, configure validation rules for contracts such as:

  • If a user enters a currency value, they must select a currency type, or the system displays an error message.
  • For contracts with the "MSA" agreement type, display the "Additional Information" section.
  • If the contract number is not provided, display an error message in the contract number field.
  • Display or hide actions and custom actions on the UI based on defined rule criteria.

For more information about how to add rules to actions, sections of the record detail page, fields of the record detail page, and tabs, see Applying Rules.

Examples of Validation and Visibility Rules

You can fulfill the following validation and visibility scenarios using rule configuration:

  • Make an optional field mandatory or vis-a-versa (through field-level error message) if the condition is met
  • Disable or enable a field depending on the condition outcome
  • Display or hide a field depending on the condition outcome
  • Specify a default value for a field if there is no existing value (through JSON rule)

Business Scenario

Add Criteria Option

Configuration in the IF section

Configuration in the Then section

Configuration in the Else section

Hide the Contract Start Date and Contract End Date if the Contract Term Type is "Perpetual"

Field Criteria

Field = Contract Term Type

Operator = Equals

Value = Perpetual

Action = Hide

Component = Field

Field = Contract Start Date

Action = Hide

Component = Field

Field = Contract Start Date

On the new contract creation page, disable the Total Contract Value field if the Contract Category is "Others", else enable it

Field Criteria

Field = Contract Category

Operator = Equals

Value = Other

Action = Disable

Component = Field

Field = Total Contract Value

Action = Enable

Component = Field

Field = Total Contract Value

On the contract details page, hide the Payment Terms section for guest users if the total contract value is greater than $10000, else display it

Field Criteria

Field = Total Contract Value

Operator = Greater Than

Value = 10000

Action = Hide

Component = Section

Section = Payment Terms

Action = Show

Component = Section

Section = Payment Terms

User Criteria

Field = Permission Groups

Operator = Equals

Value = GuestPermissionGroup

On the contract details page, show a message saying "Please note that our company policy allows a maximum contract term of 36 months for contracts of type "NDA".

Field Criteria

Field = Contract Type

Operator = Equals

Value = NDA

Action = Show Message

Component = Page Level

Field = Error

Message = Please note that our company policy allows a maximum contract term of 36 months for contracts of type "NDA

On the contract details page, auto-populated the Notice Period field with "60" if the user selects "Fixed - Manual Inactivate" in the Contract Term Type field.

Field Criteria

Configure a Rule Condition JSON to check the value of Contract Term Type field

Configure a Rule Action JSON to insert "60" in Notice Period field value

Note: You can configure conditions with a combination of Field Criteria and User Criteria.

Wizard Layouts

An overview of Wizard Layouts in CX Studio, which allows users to customize contract request form layouts for different record types, enhancing the user experience with a flexible page layout editor.

The Wizard Layouts of a contract request form is divided into multiple steps, with a master layout and individual step layouts for each master layout. You can customize the page layouts of a contract request form for NDA, MSA, and other record types to suit the users' needs using the improved page layout editor. If users create a contract request for a record type other than NDA or MSA, then the default master layout is used.

Using Wizard Layouts, you can perform the following:
  • Edit each page or step of the contract request form individually.
  • Add or delete fields such as text fields, checkboxes, dropdown) on each step.
  • Remove existing fields.
  • Add rules to hide or show from master config.
  • Add rules to hide or show from individual steps based on rules.
  • Enable or disable fields based on rules from wizard layout for each step.

Note: Currently, Wizard Layouts is applicable only to Contract Requests.

Use Case: Configuring Wizard Layouts for Contract Request Form

Imagine a legal department within a company that regularly processes contract requests. The team uses a contract request form that needs to be tailored to different types of contracts, some might require more detailed legal review, while others are straightforward. Using the Contract Request Form Wizard layouts, the team can modify the form by adding additional fields to capture specific contract details, such as special clauses or review checkpoints. They can remove unnecessary steps for simpler requests or even add entirely new pages to handle more complex contracts. If a new contract type requires extra information, the team can simply edit the layout, ensuring that the form is always aligned with their current needs and processes. This not only streamlines the process but also ensures that the form remains valid and user-friendly, avoiding any disruptions in workflow.

Typically, a contract request form contains standard steps such as Basic Information, Terms & Renewals, Key Dates, Miscellaneous, Upload Documents, with a Summary at the end. This use case explains how to create unique wizard layouts by configuring a master layout and individual steps. It showcases how to use Wizard Layouts to establish step rules and demonstrates how to conditionally display or hide elements based on these rules.

To access Wizard Layouts, click the App Launcher ( ) icon from the top-left corner > Apps > CX Studio, and select the Wizard Layouts icon () on the left side. This displays the layouts list view, which includes a master detail page for the record types and detail pages for individual steps such as Basic Information, Terms & Renewals, Key Dates, and others.

Adding or Deleting a Field in a Step or Page

This task outlines the process of adding or deleting fields within an MSA record. You may need to perform these actions to customize the information displayed in a step or page according to specific requirements.
  1. Select the MSA record for Terms & Renewals step and click the More icon ().
  2. Select Edit to add or remove fields.
  3. From the Details window, add fields. You can display info icon with text included, make a field editable or required.
  4. Click the delete icon () to remove a field.
  5. After you edited the page layout, click Publish to save the step.

The MSA record is now updated to display the customized information in the step or page. Any added fields is visible, and any deleted fields is no longer be displayed in the Terms & Renewals section.

Hiding or Showing a Step in Master Layout

This task outlines the process of hiding or showing steps within an MSA record. You may need to perform these actions to customize the steps displayed in a contract request form according to specific requirements. Steps can be hidden either directly from the master layout or conditionally through rules.
  1. Select the MSA record for master detail and click the More icon ().
  2. Select Edit. This opens the Edit Layout page displaying the individual steps.
  3. Go to Content tab and click the eye icon () to hide or show the steps.
    Note: You can also apply rules to hide or show steps from the master page.
The contract request form for the MSA record is now updated to display the customized information in the page. Any added steps are visible, and any deleted steps are no longer displayed in the contract request form.

Example Rule # 1: Hide or Show Cross-Functional Steps

This task outlines the process for configuring a wizard to conditionally hide or show cross-functional steps based on specific rules. You will learn how to select a record, access the rules tab, and define conditions that determine the visibility of wizard steps.

  1. Select the MSA record for Terms & Renewals and click the More icon ().
  2. Select Edit to edit the record and add the step rule.

    You can access the Rule tab by clicking on the specific page you are working on. This action will open the DETAILS VIEW section, where you can click the Rules tab.

  3. Click Advanced Rule Edit.
  4. Enter the following information in the respective rules.
    RuleObjectRequired Action
    IFObjectField Criteria
    FieldTerm Type
    OperatorEquals
    ValueAuto Renew
    ThenActionHide
    ComponentStep
    StepMiscellaneous
    ElseActionShow
    ComponentStep
    StepMiscellaneous
  5. Click Save.
  6. Click Publish to save the step.

After completing the steps outlined in this task, the wizard is configured to conditionally hide or show steps based on the defined rules. The visibility of the wizard steps now dynamically change according to the criteria set in the Rules tab.

Example Rule # 2: Hide or Show Fields in a Step

This task outlines the process for configuring a wizard to implement conditional logic to display or hide fields in Basic Information of an NDA record based on a specific rule.

  1. Select the NDA record for Basic Information and click the More icon ().
  2. Select Edit to edit the record and add the step rule.

    You can access the rule tab by clicking on the specific page you are working on. This action will open the DETAILS VIEW section, where you can click the Rules tab.

  3. Click Advanced Rule Edit.
  4. Enter the following information in the respective rules.
    RuleObjectRequired Action
    IFObjectField Criteria
    FieldTerminate Date
    OperatorGreater Than
    Value02/03/2025
    ThenActionHide
    ComponentStep
    FieldOwner
    Click Add Action to add another action
    ActionShow Message
    ComponentPage Level
    FieldError
    MessageOwner field is hidden using wizard rules.
    ElseActionShow
    ComponentField
    FieldOwner
  5. Click Save.
  6. Click Publish to save the step.

After completing the steps outlined in this task, the wizard is configured to conditionally hide or show steps based on the defined rules. In an NDA contract request form, based on the rules set, if the Terminate Date field is greater than 02/03/2025, the system hides the Owner field and displays an error message at the page level stating, "Owner field is hidden using wizard rules." If the Terminate Date is not greater than 02/03/2025, then the Owner field is shown.

Example Rule # 3: Enable or Disable Fields in a Step

This task outlines the process for configuring a wizard to implement conditional logic to enable or disable fields in Basic Information of an NDA record based on a specific rule.

  1. Select the NDA record for Basic Information and click the More icon ().
  2. Select Edit to edit the record and add the step rule.

    You can access the rule tab by clicking on the specific page you are working on. This action will open the DETAILS VIEW section, where you can click the Rules tab.

  3. Click Advanced Rule Edit.
  4. Enter the following information in the respective rules.
    RuleObjectRequired Action
    IFObjectField Criteria
    FieldAccount
    OperatorEquals
    Value<field name> For Example, ACME FINSERV 10.1
    ThenActionEnable
    ComponentField
    FieldParent Contract
    ElseActionDisable
    ComponentField
    FieldParent Contract
  5. Click Save.
  6. Click Publish to save the step.

After completing the steps, the wizard is configured to conditionally disable or enable fields in the Basic Information of an NDA record. The fields will respond dynamically based on the specified rule, ensuring that users see only the relevant fields as they complete the NDA form.

Adding a Custom Step in JSON format to the Master Detail Page

In a contract management system, you may need to customize the workflow for handling Master Service Agreements (MSAs) and Non-Disclosure Agreements (NDAs). This involves adding specific steps to the Master Detail page to streamline the process and ensure all necessary actions are taken. For example, you might want to add a step for "Legal Review" to ensure that all contracts are reviewed by the legal team before final approval. This step can be added to the JSON metadata to make it part of the workflow. Ensure that each custom step has a unique ID to ensure proper identification and functioning within the wizard layout.

  1. Select any step from the layout list page for an MSA or NDA record and click the More icon ().
  2. Select Clone to clone the record.
  3. Update the variant name and other fields and click Save.
  4. Select the MSA or NDA record in the master detail page and click the More icon ()..
  5. Select Edit metadata to open the JSON Editor.
  6. Specify the code for the new step in the actions {} block.
    Note: Ensure the id assigned to a custom step is unique.
    {
        "name": "detailsView",
        "version": "1.0.0",
        "type": "master-detail",
        "section": {
            "layout": "column",
            "hideTitle": true,
            "sections": [
                {
                    "components": [
                        {
                            "type": "wizard",
                            "entityType": "Agreement",
                            "id": "wizard-layout-id",
                            "summary": true,
                            "localData": true,
                            "vertical": true,
                            "variant": "capturedScreen",
                            "title": "ContractRequest",
                            "subtitle": "WizardView",
                            "steps": [
                                {
                                    "icon": {
                                        "name": "fa-solid 1"
                                    },
                                    "label": "Basic Information",
                                    "name": "step-basic-information",
                                    "state": "active",
                                    "page": {
                                        "entityId": "",
                                        "formId": "basic-information",
                                        "layoutName": "clm::contractrequest::msa::detail::step-basic-information"
                                    },
                                    "inProgress": true,
                                    "currentStepIndex": 0,
                                    "isCurrentStepSubstep": false,
                                    "isLastSubstep": false,
                                    "isSummaryPage": false,
                                    "key": "cc-173225298650760387879699883",
                                    "type": "step"
                                },
                                {
                                    "icon": {
                                        "name": "fa-solid 2"
                                    },
                                    "label": "Terms & Renewals",
                                    "name": "step-terms-renewals",
                                    "state": "disabled",
                                    "inProgress": false,
                                    "page": {
                                        "entityId": "",
                                        "formId": "terms-renewals",
                                        "layoutName": "clm::contractrequest::msa::detail::step-terms-renewals"
                                    },
                                    "currentStepIndex": 1,
                                    "isCurrentStepSubstep": false,
                                    "isLastSubstep": false,
                                    "isSummaryPage": false,
                                    "key": "cc-173225298650760387879699884",
                                    "type": "step"
                                },
                                {
                                    "icon": {
                                        "name": "fa-solid 3"
                                    },
                                    "label": "Key Dates",
                                    "name": "step-key-dates",
                                    "state": "disabled",
                                    "inProgress": false,
                                    "page": {
                                        "entityId": "",
                                        "formId": "key-dates",
                                        "layoutName": "clm::contractrequest::msa::detail::step-key-dates"
                                    },
                                    "currentStepIndex": 2,
                                    "isCurrentStepSubstep": false,
                                    "isLastSubstep": false,
                                    "isSummaryPage": false,
                                    "key": "cc-173225298650760387879699885",
                                    "type": "step"
                                },
                                {
                                    "icon": {
                                        "name": "fa-solid 4"
                                    },
                                    "label": "Miscellaneous",
                                    "name": "step-miscellaneous",
                                    "state": "disabled",
                                    "inProgress": false,
                                    "page": {
                                        "entityId": "",
                                        "formId": "miscellaneous",
                                        "layoutName": "clm::contractrequest::msa::detail::step-miscellaneous"
                                    },
                                    "currentStepIndex": 3,
                                    "isCurrentStepSubstep": false,
                                    "isLastSubstep": false,
                                    "isSummaryPage": false,
                                    "key": "cc-173225298650760387879699886",
                                    "type": "step"
                                },
                                {
                                    "icon": {
                                        "name": "fa-solid 5"
                                    },
                                    "label": "Upload Documents",
                                    "name": "step-file-uploader",
                                    "state": "disabled",
                                    "expanded": true,
                                    "page": {
                                        "entityId": "",
                                        "formId": "upload-documents",
                                        "layoutName": "clm::contractrequest::msa::detail::step-file-uploader"
                                    },
                                    "inProgress": false,
                                    "currentStepIndex": 4,
                                    "isCurrentStepSubstep": false,
                                    "isLastSubstep": false,
                                    "isSummaryPage": false,
                                    "key": "cc-173225298650760387879699887",
                                    "type": "step"
                                },
                                {
                                    "icon": {
                                        "name": "fa-solid 6"
                                    },
                                    "label": "Legal Review",
                                    "name": "step-file-legal-review",
                                    "state": "disabled",
                                    "expanded": true,
                                    "page": {
                                        "entityId": "",
                                        "formId": "upload-documents",
                                        "layoutName": "clm::contractrequest::msa::detail::step-file-legal-review"
                                    },
                                    "inProgress": false,
                                    "currentStepIndex": 4,
                                    "isCurrentStepSubstep": false,
                                    "isLastSubstep": false,
                                    "isSummaryPage": false,
                                    "key": "cc-173225298650760387879699888",
                                    "type": "step"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    }
  7. Click Save.
The new step is added to the master detail page.