How do I create a button in the classic Sales UI using Application Composer?
You can create a button as an action or link using Application Composer. Keep in mind that you must use a sandbox for your configuration and verify the changes before publishing your sandbox.
Here's how you can create and add a button to a page in Classic UI:
Create a button
- Go to > , and select the application you wish to configure.
- Expand the object where you want to add the button, and then select Actions and Links.
-
In the details region, specify the properties of the button you want to add. For example:
- Select Action to run a script, or Link to enter a URL.
- For Action, open the Groovy script editor and write the logic for your button.
- For Link, enter the static URL in double quotation marks or use the expression builder to create a dynamic URL based on object fields.
Add the button
- Go to > , and expand the object where you want to add the button
- Select Pages, and then select the layout to which you want to add the button.
- Edit the layout to add the button you've created.