I like to show the widgets based on user login. to hide few widgets based on user login.
See this thread (read all of the posts) for some help:
https://community.esri.com/thread/174605
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.
Raghunatha,
If you are dealing with the map then jimu/MapManager.js If widget the jimu/WidgetMnager.js.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.