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.
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...
@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.
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
... you will see text box(es) in the Relates tab under each relate, that allows you to provide user defined IDs to each relates.
Thank you all for your suggestions and contributions.
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.