Add favourites by admin using Python in Enterprise/Online

757
1
07-07-2023 03:45 AM
Status: Open
jorisfrenkel
Frequent Contributor

In ArcGIS Online and Enterprise users van mark content items as favourites. When for example moving content from ArcGIS Online logins to SSO logins with a Python script, you would want to move favourites as well (not moving the favourite items themselves, but transfer the content of the favourites group from the old to the new account).

Currently this is nog possible, as admin accounts van only read the favourites group of a user with Python, not share items with it.

It would be nice to have this possibility. 

1 Comment
AsScho
by

I would like to express my interest in this.
It is possible to share content for groups using Python.

https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._cont...

Unfortunately, this does not work for the user favorites group.

Property "favGroupId" of arcgis.gis.User. (The user’s favorites group and is created automatically for each user.)

I have already created a case for this.