Article

Removing the 'Copy' and 'Delete' Buttons on a FreedomUI Mobile Record Page

To remove the “Delete” and “Copy” buttons from a record page, add the following code to the target RecordPageSettings schema:

 

{
	"operation": "merge",
	"name": "settings",
	"values": {
		"viewConfigDiff": "[{\"operation\":\"remove\",\"name\":\"Account_FloatAction_Delete\"},{\"operation\":\"remove\",\"name\":\"Account_FloatAction_Copy\"}]"
	}
}

This configuration removes the Account_FloatAction_Delete and Account_FloatAction_Copy actions from the viewConfigDiff.

As a result:

If no other actions remain on the page, the three-dot menu (floating actions button) will be hidden.

If other actions are present, the menu will remain, but the removed actions will no longer be displayed when the button is clicked.
 

Like 0

Like

Share

0 comments
Show all comments