As administrator (and new programmer), my responsibilities includes sharing Portal items with the Public and to a group set up with collaboration to our AGOL account. However, when opening the group in AGOL, the items' share defaults to Private. It doesn't take the Public access setting from Portal with it. I'm trying to write a script that will update the items in that group to Public. I'm able to access the items using the below, but I can't figure out how to update the share for all of them to public. Any help is appreciated.
odgroup_items = od_group.content()
group_items = od_group.content()
Solved! Go to Solution.
This documentation explains how to share items with the Python API.
You will need to use a for loop to loop through every item in your list.
This documentation explains how to share items with the Python API.
You will need to use a for loop to loop through every item in your list.