Select to view content in your preferred language

Dynamically add/remove widget icons

494
1
05-10-2011 06:27 AM
DinaWijewickrema
New Contributor
Is there a way to dynamically add/remove widgets? I have an application which provides functionality based on the User's role. So for an Admin type user, I need to show all widgets/functionality and provide the user the icons for them on the top banner. For Read-Only users, I need to show a smaller set of widgets/functionality and not show any widgets icons the User does not have access to.

Thanks.
Dina
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
The easiest is probably to use different main configuration files based on their roles, for example:
index.html?config=config_admin.xml
vs
index.html?config=config_readonly.xml
0 Kudos