Is it possible to show widgets based on user login. show widgets which are authorized to users.

1378
3
Jump to solution
09-07-2016 02:37 AM
Raghunatha_ReddySura
New Contributor

I like to show the widgets based on user login. to hide few widgets based on user login.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

See this thread (read all of the posts) for some help:

https://community.esri.com/thread/174605 

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

See this thread (read all of the posts) for some help:

https://community.esri.com/thread/174605 

Raghunatha_ReddySura
New Contributor

Thanks  Robert.

Where  I can write this code, I mean on which js file. I need to validate this after opening the application. Is there is any common file available in WAB to write custom code that will execute after/before loading all widgets.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Raghunatha,

   If you are dealing with the map then jimu/MapManager.js If widget the jimu/WidgetMnager.js.