I am trying to add layers from a WFS-service as a new item in our Portal. So that users only can use the selected, approved layers within the service
When adding the WFS with the New Item-button in our content, I can choose the layer from a list of available layers in the WFS-service.
The problem now is:
The portal-item always uses/connects to the first layer in the layerlist.
For example the WFS-layerlist contains the layers:
- layer 1
- layer 2
FIrst I add New item to the portel choosing Layer 1.
Then I use the same WFS-service-url and then I choose Layer 2.
Now I have 2 portal-items. 1 connecting to Layer 1 and the connecting to Layer 2.
I check in a web map. Both layers display Layer 1.
When I check the item in the AGOL-assistent I see both items using the layer with the name Layer 1. And I am very sure I chose different layers for the items. If I change the layername in the JSON for the item connecting to Layer 2, then it works as intended.
Anyone had this problem and found a solution? Besides using AGOL assistent?
Feel free to ask for more information, English is not my first language (Dutch is).