3

A ability to preserve layer and table IDs between map service updates is a great feature added at 10.3.1. Unfortunatly it seems that it has to be manually applied to each dataframe when an .mxd is created.

Is there a way to have it enabled by default? Map publishers rarely remember to enable it and I occasionally end up having to edit my applications after updates anyway.

Edit Found a relevant thread on geonet, it looks like you can't set this option through ArcObjects but you can set/change layerIDs on individual layers

Edit 2 Link to an idea I submitted at the ArcGIS ideas web site in case anybody else would find this useful.

3

Sorry, but there is no standard way to have this enabled so it will apply to all map documents one creates. There is no arcpy way into the data frame to see whether the layer ids have been enabled and there is no way to check the layer id using arcpy either.

If you are comfortable with ArcObjects, you might consider iterating your map documents and enabling this option.

You might also consider submitting an idea on the ArcGIS Ideas website.

It is possible to customize the menu adding additional items, just to remind the publishers to activate this option. The customization can be shared between machines, so it can be applied to all the users involved.

Something like this:

enter image description here

  • Found a thread discussing doing this in ArcObjects, doesn't look like it's possible. I've updated the question. Also I submitted an idea to the ideas website. – Dowlers Aug 19 '16 at 20:52
  • Ah OK, good to know. As a crazy idea to share - I've updated my answer. – Alex Tereshenkov Aug 19 '16 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.