I am attempting to automate our publication process and as a part of that I'm trying to update an item's sharing settings. I am able to show the item's current setting by using "print(itemobject["access"])" but can't seem to change the value from private to public using "itemobject.update({"access": "public"})" even though the value shows changes made manually through portal or server manager.
You can use itemobject.share(True) to make it public.
Much appreciate Rohit, That has answered my question. Thanks.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.