Hello guys
I've added a WFS service to the map (according to Samples | ArcGIS API for JavaScript )
Now i'm stuck with defining the "nsLayerName". I have no clue where to read it from. If i dont define it, it loads just the first layer. Where do i read this from? From the wfs definition? What is the field/property name and how do i define this in the nsLayerName. The WFSLayer | API Reference | ArcGIS API for JavaScript is in beta, thus too vague to decypher anything from it.
Furthermore how could one dynamically create the nsLayerName without knowing the layers from the service. Maybe by parsing through the xhrget of getCapabilities?
Thank you
Best regards
Matej