I am in the process of creating my first custom 2 D widget and I can dynamically add a layer on the map but when I use the standard Layer List widget I see that the name of the layer I added to the map is the name of the Map Service that I have used. Is there a way to set the name of the new layer that will be displayed when I use the standard Layer List widget?
Here is my environment:
- Portal for ArcGIS version 10.6
- Web AppBuilder Developer Edition 2.6