Can you update a portal item's terms of use with Python?

631
3
Jump to solution
10-31-2019 12:33 PM
by Anonymous User
Not applicable

We have lots of items that all need the same "Terms of Use" blurb in them. I can get at them with ArcGIS API for Python, but I have not found any property for "Terms of Use."

I have checked here (and other places):

Common parameters—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers 

Is it possible to programmatically update this piece of information?

Thank you,

Randy McGregor

0 Kudos
1 Solution

Accepted Solutions
Per_Åke_MattiasWallin
New Contributor III

Randy,

If this is what you want to update:

then use the licenseInfo tag...

After:

View solution in original post

3 Replies
JoeBorgione
MVP Esteemed Contributor

Just a guess, but the metadata update process has not been mimicked in Pro and I suspect the same may be true for the Python api.

That should just about do it....
0 Kudos
Per_Åke_MattiasWallin
New Contributor III

Randy,

If this is what you want to update:

then use the licenseInfo tag...

After:

by Anonymous User
Not applicable

Thank you! That shold do it. I just didn't realize, "licenseInfo" was, "Terms of Use."