AnsweredAssumed Answered

Show a widget 'on the fly'

Question asked by rafael.fernandez.gis on May 25, 2016
Latest reply on May 25, 2016 by rscheitlin

Hi there,

I am developing a new site in my organization using WAB 2.0. When the website is reached for any user, a modal dialog shows up asking for user and password:

Capture.PNG

After the user types his/her credentials, the idea is to validate, then close (hide) the login dialog and then if the user has admin privileges, a new widget will be shown in the app.

Capture1.PNG

But if the user has not admin privileges, then no widget will be shown.

Capture2.PNG

 

Anybody knows if this approach is doable?

 

thanks,

Rafael

Outcomes