Restrict Dashboard Customization using page scripts

Restrict Dashboard Customization using page scripts

Use case

In scenarios where administrator would like to have a fixed dashboard, then they can remove the Dashboard settings button using the below steps

1. Go to Admin >> Page Script >> Apply the below script based on a condition

$CS.findElement("#customize-checkbox").parent().children().hide();