laptop and a wrench

Bug

The documentation, 'How To: Publish a feature layer without overwriting the editor tracking information using ArcGIS API for Python', does not work when the code is written in the new line.

Last Published: March 3, 2022 ArcGIS Online
Bug ID Number BUG-000143770
SubmittedOctober 18, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found9.3
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

Esri Support Services is working on resolving the issue. If this issue persists, contact Esri Support Services.

Workaround

Rewrite the code in the following way to avoid formatting the publishing parameters dictionary with new line breaks:

pub_params = {"editorTrackingInfo": {"enableEditorTracking": 'true', "preserveEditUsersAndTimestamps": 'true'}}

Refer to the following link for more information, https://gist.github.com/floptical/73bb6ca278c8674b5387e53927b07421.

Steps to Reproduce

Bug ID: BUG-000143770

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options