Can I set the header text of the collapsible Section dynamically from Salesforce?

Last updated Apr 10 2019

The collapsible Section has a default text and you can change it to a different static text instead, but you can also dynamically get the text from Salesforce.

Learn how it's done:
1- Create a new blank form
2- Drag a Section element.
3- Select the section on canvas and Go to: Properties panel > Element tab > Settings option > Basic category.
4- Turn on the ‘Enable collapse’ checkbox.


5- You will then see a header appear above the section with the default text: “Open section”.
6- Now Go to: Properties panel > Form tab > Settings option > Salesforce integration category > Get
7- Press on ‘Set Get’ button.


8- Choose the SF object you want to read the header text from (for example: Account)
9- Turn on the ‘Execute on form load’ to have the text populated when the form first loads.


10- Map the field: for example
Section Collapse Header > Account name
11- Press ‘Apply & Finish’.


12- Save the form
13- Test the form:
- Publish it as URL - you will then see the Account name populated in the header.



CommentsLogin Required
Didn’t find what you were looking for?
Try the following for assistance or Use the Search box.