AnsweredAssumed Answered

Assign Categories to Portal Group

Question asked by anthony.ryan_ergon on Jul 7, 2019
Latest reply on Oct 8, 2019 by anthony.ryan_ergon

Hi there,

I having issues in assigning categories to portal groups using the Python API 1.6.2 and ArcGIS Enterprise 10.7.1. According to the API docs, the CategorySchemaManager helper class is created and called categories, is available as a property on gis.content or on gis.groups


My portal groups configuration (title, etc) is stored in a json file (see below for example)


and I'm reading & loading using the standard import json lib, etc.


The above code works very well in creating the group & setting the Delete Protection checkbox.


I added the following line of code and the script still runs with no errors, etc



But the Category section for the Group is still blank as you can see because the 'Set up group categories' button is present



Do I have to assign the category a different way or is there an issue?