Possible to have more than one popup layer?

Discussion created by kmorefield on Feb 16, 2012
Latest reply on Feb 16, 2012 by kmorefield
I've implemented popups in one of my applications, but recently encountered a problem.  I'm trying to implement popups on more than one feature layer, but I can't get it to work.  It will work for the first feature layer created, but none of the additional feature layers.  Is there an efficient way to implement popups for many layers?  Do you have to somehow create/destroy popups and feature layers, so that only one is present in the project at a time?  This project will have 2 ArcGISDynamicMapServiceLayers, each of which will contain 2 point layers.  So we're talking a total of 4 point layers.  Each have different attributes.  So I'd like 4 different popups to accomodate all layers.  Any suggestions?  Am I missing something simple?