Set Dashboard Owner Group as Mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
- Labels:
-
Dashboard
-
ownership group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @hoa nguyen
There is no out of the box configuration option available to make mandatory on owner field in platform analytics dashboard.
But you can create BR on "pa_dashboards" table
OnBefore BR
Check Insert and Update, with filter condition as "Owner is empty".
Add below script in Advanced section:
gs.addErrorMessage("Owner group is mandatory: Pls add in owner of dashboard");
current.setAbortAction(true);
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Bharat Chavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hello @hoa nguyen
owner field is stored in "par_dashboard_permission" table .
Its the group field on the record where owner is checked
It seems it tied to dashboard by dashboard field.
write before BR on this par_dashboard_permission .
insert and update checked.
if(!current.getValue('group')
{
gs.addErrorMessage("Owner group is mandatory: Pls add in owner of dashboard");
current.setAbortAction(true);
}
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Bharat Chavan