How to auto-enable pop-ups

2345
4
Jump to solution
04-18-2016 08:37 AM
TimHayes1
Occasional Contributor III

I am using Web AppBuilder Developer Edition 2.0.

How do I automatically enable pop-ups for certain layers? I want to set it up so my users do not have to take the extra step of "Enable Pop-Up" in the Layer List. I want the pop-ups automatically enabled so when a user opens up the map viewer they can start clicking on the layer they want and the pop-up will appear.

Is there a code snippet I need to modify?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Tim,

  Have you cleared your browsers cache and restarted WAB? I have no additional steps to get popups to work for layers that have popups enabled in the Web Map.

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Tim,

  If you have the layer in the Web Map configured for a popup then that will automatically translate over to WAB and you can just click on that feature in the map.

0 Kudos
TimHayes1
Occasional Contributor III

I did that, then saved, then Launched. I still had to go enable popups in the Layer List.

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Tim,

  Have you cleared your browsers cache and restarted WAB? I have no additional steps to get popups to work for layers that have popups enabled in the Web Map.

TimHayes1
Occasional Contributor III

Thanks, Robert. That did the trick.

0 Kudos