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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.