Portal Item ID relationship with ArcGIS Service.

1053
1
10-10-2018 12:15 PM
LakshmananVenkatesan
Occasional Contributor

Hi 

My question is regarding relationship between Portal item vs ArcGIS server service. Let me explain the question and followed by rationale. In ArcGIS 10.6 version (single machine - federated environment - Portal, server, DS, webadaptor). I am publishing a service with multiple layers with feature service enabled. In arcgis rest end point I see both Map server and feature server. The map service has 5 individual layers. In arcgis/admin/services - I could see two portal item IDs ; one for Map server and one of Feature server.  I see two portal items (map image layer and feature layer). This is good.

Now one of the portal user is creating a feature layer in portal using first layer of my map service. The portal item is created successfully with service url as below .

https://dnsalias.domain.com/ags/rest/services/folder/service/MapServer/0 

Question - How does this portal item is related to underlying map service?. 

Rationale : I have recently upgraded my arcgis enterprise from 10.4 to 10.6. I could see many of items ID are mismatching. I ran a script to compare Item ID from arcgis server to portal and fixing those manually. But these individual feature layer which pointed to layer in map service is challenging. Need more clarity on this.

Tags (2)
0 Kudos
1 Reply
IvanYanev1
New Contributor

I have an issue related to this topic.

The Portal Items IDs on the arcgis/admin/ site differ from the Item IDs in the Map Image Layer and Feature Layer Portal items. So when republish my service from ArcMap the Portal Items do not update. If I manually change the IDs on the arcgis/admin/ site the relationship between arcgis server service and the portal items is available.

Does someone have idea how the Portal Items IDs on the arcgis/admin/ site have been changed?

Both the arcgis server service and portal items never have been deleted. Only overwrite republishing is made due to changes in the underlying data structure.

0 Kudos