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.

Limiting Clause Bundle Selection Based on Salesforce Field Data

You can limit which clause bundles appear for selection based on Salesforce field data by creating a customized select clause button.
  1. In Salesforce, navigate to the Object Manager.
  2. Search for "Contract" in the Quick Find search bar.
  3. Click Contract Agreement.
  4. Click Buttons, Links, and Actions.
  5. Click New Button or Link.
  6. Fill in the required fields for your new button. For example:
    OptionDescription
    Label Customized Select Clause Bundle
    NameThis will automatically populate with what you entered in the label field.
    Display TypeDetail Page Button
    Behavior Display in existing window without sidebar or header
    Content SourceURL
    Button URLThe following is an example of a button URL you can enter with multiple filter criteria:
    {!URLFOR( $Action.Contract.APXT_Redlining__Select_Clause_Bundle , null, [altId=APXT_Redlining__Contract_Agreement__c.Id,name ='AR',APXT_Redlining__CustomTextfield__c =TEXT(APXT_Redlining__Contract_Agreement__c.APXT_Redlining__Type__c),APXT_Redlining__CustomPicklist__c ='Value1', APXT_Redlining__CustomCheckbox__c = 'false', APXT_Redlining__CFS_QuickStart_Example__c = 'true' ], false)}
    In this example URL there are five existing conditions.
    1. Name = "AR", the pre-existing name field.

    2. APXT_Redlining__CustomTextfield__c=TEXT(APXT_Redlining__Contract_Agreement__c.APXT_Redlining__Type__c) is the pre-existing Contract Agreement type.
    3. APXT_Redlining__CustomPicklist__c ='Value1', is a custom field you created.

    4. APXT_Redlining__CustomCheckbox__c = 'false' (custom field created) is a custom field you created.

    5. APXT_Redlining__CFS_QuickStart_Example__c = 'true' is the pre-existing read only field.

    The supported field types for the filters are: text, boolean, and picklist. All the filters will be added as an AND operator. If you use a text field, then it is used as contains in the filter field. Picklists are treated as exact values.

  7. Click Save.
The button is ready to be added to a page layout.