I see this example of how to put the contents of a popup into a sidebar, but I can't really follow it. I'm not sure how to implement it for my site, which uses feature layers hosted on ArcGIS Online, rather than a web map like the example.

It seems like the general idea is to turn off the popup, listen for selection changes, and then grab the infoWindow content and put it into a specified DIV. Am I right here?

How can I do this without using a web map?

1 Answer 1


What you are missing is an InfoTemplate on the FeatureLayer.

When configuring a pop-up for a layer in a WebMap, you get this "for free".

See an example of how to use InfoTemplate with a FeatureLayer


  • Thanks for the answer. Can you clarify the difference between popup template and info template? I've defined my popup template, but not info template. Commented Jan 25, 2015 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.