Select to view content in your preferred language

How to hide widgets when user is not logged in

203
0
10-24-2022 01:54 PM
RyanCourtney
New Contributor

Hello I would like to know how to hide the widget bar if a user is not logged in, and show it when the user is logged in. Also I would like to know where I would place the code. I am guessing in the widget.js of the AnchorBarController but not sure. I have looked at some older posts but have been unable to get it to work. I would also like to make layers only visible to people in their respective groups. I am using wab 2.16 and api version 4.16

0 Kudos
0 Replies