I am an AGOL beginner and looking for to create HTML file similar to AGOL map. When I add a map service into AGOL map (http://arcg.is/1iqvOu ) it shows the popups. However, I can't view any popup after adding a feature layer into a a html map as below (please see the attachement):
var featureLayer = new FeatureLayer({ url: "xyz"}); map.add(featureLayer);
How can I enable the default popup without any customisation. I have hundreds of layer and don't like to define the popup for each layer, but prefer to have the popup just same as checking "
Modifying the html is highly appreciated.