Feature layer with dynamic source and legend

Discussion created by gsimpson4 on Jul 10, 2012
I have several layers that are created dynamically using TableDataSource.  I can get these to show up in the legend, however they show up as a service as opposed to a layer within a service.  Is there a way to get these to show up in the same fashion as layers within a service?  Also, I can create DynamicLayerInfos which means I could conceivably create a group layer to put these dynamic layers under.  Unfortunately, legend does not seem to support the DynamicLayerInfos and there is no way to assign these to the dynamic layers themselves.  Am I missing something?  Ideas?  Suggestions?