I've created a Custom Menu Set and I'm looking for help with how to assign it to a Privilege Set.
You could use the Install Menu Set script step in an script that check the users permission set and loads the appropriate menu set.
trigger it with the onFirstWindowOpen trigger
Use a script that runs in the "On First Window Open" trigger.
That script will check the Privilege Set, using an If/Else if structure, and with the Install Custom Menu script step, install the appropriate menu, setting it as default. Have your layout use the Default Custom Menu.
Since each Custom Menu Set is tied to a layout, you may find the OnLayoutLoad trigger to be useful.
If the Custom Menu Set will apply to ALL users, set that menu set as the default for the file in the Manage Custom Menus dialog.
If you'll have multiple sets, each assigned based on privilege sets, I like the method David suggested, too.
Retrieving data ...