- 14 May 2024
- 1 Minute to read
- Print
- DarkLight
Enable lines to be deleted
- Updated on 14 May 2024
- 1 Minute to read
- Print
- DarkLight
Workspace lets you experiment with changes to lines and then easily revert those changes. If a line is assigned to Workspace and you change a value, Workspace retains the line's previous value. You can revert the changed line in Workspace to its previous value, even if you make multiple changes to the line.
When a line is assigned to Workspace, no other users can edit that line or assign it to their Workspace. When you remove the line from your Workspace, other users can then edit the line or add it to their own Workspaces for exploratory changes. Also, when you remove a line from Workspace, all its previously saved changes are lost.
In the default workflow, you cannot delete an agreement or quote line while it is in Workspace. You can remove it only from Workspace itself, and then you must find it in the Line Items list to permanently remove it there.
Permanently delete lines in Workspace
You can enable an optional Delete action for Workspace so that Deal Manager users can permanently delete quote or agreement line items directly in Workspace. You can do this only to lines that are marked as Deletable in the Line Items list.
- Select Setup in the top right corner of the Line Items list, and then select Edit Page.
- In the Lightning App builder, select the Line Items component's tab.
- Select the Enable Workspace Delete checkbox.
- Select the Workspace Delete Row Action checkbox.
- Select Save, and then select Back to exit the Lightning app builder.
You can also conditionally display or hide the Delete buttons based on a Salesforce formula evaluation. Read Hide standard and custom actions.