I'd like to update the Portal system properties using the Python API. The documentation seems to indicate that it can be done. However, making an assignment to System.properties doesn't appear to udpate the system properties.

from arcgis.gis import GIS

gis = GIS(gis_base_url, user, password)
system_properties = gis.admin.system.properties
system_properties['privatePortalURL'] = system_properties['WebContextURL']
gis.admin.system.properties = system_properties

So, is there a way to update the Portal's system properties in a way other than what's documented?

  • What does the above return in the console? Are you using a user with POrtal Admin privileges? – Simon Dec 23 '19 at 11:38
  • Nothing, and yes. – Jonathan Bailey Dec 27 '19 at 14:23

Your Answer

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

Browse other questions tagged or ask your own question.