I am in the process of creating my first custom 2 D widget and I can dynamically add a layer on the map , but as soon as I try to add a renderer to override the symbology coming from the map service then the layer does not show on the Layer List anymore and I get no error message
Here is my environment:
- Portal for ArcGIS version 10.6
- Web AppBuilder Developer Edition 2.6
- ArcGIS JavaScript API 3.33
Here is part of my code: as soon as I had the lines in bold then the layer does not show anymore:
I have defined: