Select to view content in your preferred language

Allow the unique assignment of Relationship IDs when publishing

1004
4
06-13-2019 01:32 PM
Status: Implemented
Labels (1)
roemhildtg
Frequent Contributor

Similar to how we publish layers with a uniquely assigned ID, we also need to assign relationship IDs. This is because applications sometimes reference these ids and there is no rhyme or reason as to how relationship IDs get set internally so every time I publish after adding a layer that partakes in a relationship the IDs change. 

 

Please allow us to assign a relationship ID or ensure that ArcGIS doesn't renumber an existing relationship in a map when publishing to arcgis server.

4 Comments
MatthewRantala1

Just commenting that this is a enhancement in the queue (no idea when it will be implemented): https://support.esri.com/en-us/enhancement/add-the-option-allow-assignment-of-unique-numeric-ids-f-e...

RobRader1

@MatthewRantala1  :  It would be very helpful if a workaround could be created for on premise enterprise type installations and linked to this Idea. If such a workaround exists today, then please link that instead. 

Such a workaround could take the form of:

a) Updating the service definition file that will be used by the service. Perhaps the process would be publish the service. Then update the service definition file. Followed by republishing the service using the new service definition file.

b) Update the Map/Project used to publish the service and set this directly.

The work around could take the form of a python script, manual changes or any tool type you prefer.  It could also take the form of an API example. Such an example, could then wrapped up as a sample tool and maintained by the community. 

In a nutshell, a workaround would be extremely helpful.

TanuHoque
Status changed to: Implemented

Implemented in ArcGIS Pro 3.3. You also need ArcGIS Enterprise/Server 11.3 or above too.

Once you enabled this 'assignment of unique numeric IDs..' option on a map's Properties page

TanuHoque_0-1719253734690.png

... you will see text box(es) in the Relates tab under each relate, that allows you to provide user defined IDs to each relates.

TanuHoque_1-1719253877081.png

 

Help: https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/assign-layer-ids.htm#ESRI_SECTION1_42... 

 

Thank you all for your suggestions and contributions.

tiztrain

hey @TanuHoque ,

I have noticed that with this new setting, you have to be careful if you have multiple groupings in a service. In the image below, 'Site - SEFF' and 'Species - SEFF' and related. The others are also related separately.

tiztrain_1-1727252497978.png

In this case,  I have to make sure that the LayerIDs that are assigned go from 0-5 and then I have to make sure that the relationshipID uses the same number as the layerID. If I don't, trying to create some offline managed areas fails.

Is this by design?