Hello,
I have a Map Service (published from our on-prem ArcGIS Server and host the layer in AGOL), How can I add a MAP SERVICE sub-layer to Web Viewer?
(In the Web Map Classic Version, after i added a Map Service, i can get the URL of the sub-layer and add the sub-layer URL directly, but it doesn't work for the New Map Viewer)
thanks,
W
WilsonLee_0-1707233461340.png
You can add the URL directly by clicking Add and selection Add layer from URL
add.png
This brings up the Add layer dialog, which accepts the sub-layer URL
add1.png
Select the sub-layer you want. Upper right, click Properties, expand "Information", then click on the layer name. This will take you to the REST endpoint of the sub-layer.
RhettZufelt_0-1707234483916.png
R_
thanks all...yes, i have the rest URL , then "add layer from URL", but it doesn't work..(The classic version is fine) , any idea?
WilsonLee_0-1707234822147.png
Can you share the REST url? I am having no issues in new map viewer (at least with this :).
RhettZufelt_0-1707235319723.png
R_
Thanks! Unfortunately, the service is locked and the content is confidential.
I will contact Esri Tech Support regarding the error message 🙏
Did you get any help from the support?
I want to do the same thing but can't figure it out.
Thanks!