Managing Buttons or Links
In order to cover certain business use cases, administrators must create new buttons or links or edit existing buttons or links.
Info
The page customization, including the button and link management, differs between Salesforce Classic and Salesforce Lightning.
Managing Page Components in Salesforce Lightning
-
Open a record detail page of the corresponding object.
- Navigate to an opportunity, order, invoice, subscription etc. as required.
- Click to open the Setup menu, then select Edit Page.
-
Modify the page layout as necessary.
Add, edit or remove components.
Reorder components by dragging them to the intended region of the record page.
-
Click Save.
-
Click Activate.
This makes the customized record page available to users.
Info
When you save the customized record page for the first time, you can activate it from the Save dialog. Later, you can use the Activation... dialog.
For more details about editing Lightning pages, see Create and Configure Lightning Experience Record Pages in the Salesforce Help.
Managing Buttons or Links in Salesforce Lightning
There are two ways for managing Lightning Experience action buttons:
- Defining action buttons in the Mobile and Lightning Experience Actions section of the object's page layout definitions
- Using dynamic actions, which are managed in Lightning App Builder
Actions in Page Layouts
In an object's page layout definition, you define action buttons using the Mobile and Lightning Experience Actions category on the palette.
-
Navigate to the object management settings of the corresponding object.
Click to open the Setup menu and select Setup, then open Objects and Fields > Object Manager > Object.
-
Click Page Layouts.
- Click Edit in the row of the layout you intend to modify.
-
In the Salesforce Mobile and Lightning Experience Actions section, modify the buttons as necessary.
To hide buttons, drag them to the palette.
To add buttons, drag them from the palette to the Salesforce Mobile and Lightning Experience Actions section.
-
Click Save.
For more details, see Customize Detail Page Buttons in the Salesforce Help.
Dynamic Actions in Lightning App Builder
JustOn Billing & Invoice Management already uses dynamic actions for invoices and statements by default. This way, it can show or hide actions depending on the record's status.
Dynamic invoice buttons
JustOn Billing & Invoice Management uses dynamic actions for invoices by default. This way, it can show or hide actions depending on the record's status or type.
You can add, rearrange or remove actions according to your business requirements. For details, see Dynamic Actions in Lightning App Builder.
Action / Invoice Status → ↓ |
Draft | Pre-Draft Pre-Open |
Open | Paid | Settled | Canceled |
---|---|---|---|---|---|---|
Finalize | ||||||
Close Only for invoice types Deposit / Proforma |
||||||
Send | ||||||
Cancel Not available for invoice types Proforma / Cancelation |
||||||
Create Credit Not available for invoice types Deposit / Proforma |
||||||
Postpone Due Date | ||||||
Installments | ||||||
Register Payment | ||||||
Settle | ||||||
New Dunning | ||||||
Write Off | ||||||
Manage IVA | ||||||
Set Order Discount | ||||||
Set Business Entity | ||||||
Set Contacts | ||||||
Recreate PDF | ||||||
Copy Text | ||||||
Edit | ||||||
Delete | ||||||
Clone | ||||||
Create E-Invoice |
Dynamic statement buttons
JustOn Billing & Invoice Management uses dynamic actions for statements (dunning reminders and account statements) by default. This way, it can show or hide actions depending on the record's status.
You can add, rearrange or remove actions according to your business requirements. For details, see Dynamic Actions in Lightning App Builder.
Action / Statement Status → ↓ |
Draft | Closed |
---|---|---|
Finalize | ||
Send Dunning | ||
Clone | ||
Delete | ||
Copy Text | ||
Recreate PDF | ||
Edit |
You may want to use the Lightning App Builder instead of the Page Layout editor for other objects as well. To manage the action buttons in the Lightning App Builder, you must explicitly enable dynamic actions.
Once enabled, you add, rearrange or remove actions according to your business requirements – including the default actions for invoices and statements.
Note
Be aware of the following specifics:
- Enabling dynamic actions applies to the current record page.
- Once you have enabled dynamic actions for a record page, actions configured in the object's page layout will no longer have any effect.
-
Open the record detail page of the relevant object in the Lightning App Builder.
- Navigate to an opportunity, order, invoice, subscription etc. as required.
- Click to open the Setup menu, then select Edit Page.
-
Select the top panel ("Highlights").
- In the panel's properties, click Upgrade Now to enable dynamic actions.
- Add, rearrange or remove actions as necessary.
-
Click Save.
For more details, see Create Dynamic Actions in Lightning App Builder in the Salesforce Help.
Creating New Buttons or Links
-
Navigate to the object management settings of the corresponding object.
Click to open the Setup menu and select Setup, then open Objects and Fields > Object Manager > Object.
-
Click Buttons, Links, and Actions.
- Click New Buttons or Link.
-
Specify the button or link details as necessary.
Mandatory details include the label, name, display type, behavior, content source and content. The description is optional.
-
Click Save.
-
Add the button to the intended page layout.
Editing Existing Buttons or Links
-
Navigate to the object management settings of the corresponding object.
Click to open the Setup menu and select Setup, then open Objects and Fields > Object Manager > Object.
-
Click Buttons, Links, and Actions.
- Click Edit in the row of the button or link you intend to edit.
- Modify the details as necessary.
- Click Save.
Managing Buttons or Links in Salesforce Classic
Creating New Buttons or Links
-
Navigate to the Buttons, Links, and Actions page for the corresponding object.
For standard Salesforce objects, open, for example, Setup > Customize > Opportunities > Buttons, Links, and Actions.
For JustOn objects, open, for example, Setup > Create > Objects > Invoice > Buttons, Links, and Actions.
-
Click New Button or Link.
-
Specify the button or link details as necessary.
Mandatory details include the label, name, display type, behavior, content source and content. The description is optional.
-
Click Save.
-
Add the button to the intended page layout.
Editing Existing Buttons or Links
-
Navigate to the Buttons, Links, and Actions page for the corresponding object.
For standard Salesforce objects, open, for example, Setup > Customize > Opportunities > Buttons, Links, and Actions.
For JustOn objects, open, for example, Setup > Create > Objects > Invoice > Buttons, Links, and Actions.
-
Click Edit in the row of the button or link you intend to edit.
- Modify the details as necessary.
-
Click Save.
For more details, see Define Custom Buttons and Links in the Salesforce Help.