<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Assign Categories to Portal Group in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/assign-categories-to-portal-group/m-p/766933#M559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;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 &lt;A href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#categoryschemamanager"&gt;CategorySchemaManager&lt;/A&gt; helper class is created and c&lt;SPAN style="background-color: #fcfcfc; color: #004000; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif;"&gt;alled&lt;SPAN style="display: inline !important; float: none; background-color: #fcfcfc; color: #404040; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #004000;"&gt;&lt;CITE style="box-sizing: border-box; color: #404040; font-family: &amp;amp;quot; lato&amp;amp;quot;,&amp;amp;quot;proxima-nova&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,arial,sans-serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;categories&lt;/CITE&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fcfcfc; color: #404040; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;, is available as a property on &lt;/SPAN&gt;&lt;CITE style="box-sizing: border-box; color: #404040; font-family: &amp;amp;quot; lato&amp;amp;quot;,&amp;amp;quot;proxima-nova&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,arial,sans-serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;gis.content&lt;/CITE&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fcfcfc; color: #404040; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; or on &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CITE style="box-sizing: border-box; color: #404040; font-family: &amp;amp;quot; lato&amp;amp;quot;,&amp;amp;quot;proxima-nova&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,arial,sans-serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;gis.groups&lt;SPAN style="color: #001000;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/CITE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My portal groups configuration (title, etc) is stored in a json file (see below for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/452610_group-config.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; and I'm reading &amp;amp; loading using the standard import json lib, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/452611_group-py.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The above code works very well in creating the group &amp;amp; setting the Delete Protection checkbox.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the following line of code and the script still runs with no errors, etc&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;group.categories.schema&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;group_config[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"categories"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the Category section for the Group is still blank as you can see because the 'Set up group categories' button is present&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/452615_group-nocat.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I have to assign the category a different way or is there an issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 05:19:24 GMT</pubDate>
    <dc:creator>AnthonyRyanEQL</dc:creator>
    <dc:date>2019-07-08T05:19:24Z</dc:date>
    <item>
      <title>Assign Categories to Portal Group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/assign-categories-to-portal-group/m-p/766933#M559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;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 &lt;A href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#categoryschemamanager"&gt;CategorySchemaManager&lt;/A&gt; helper class is created and c&lt;SPAN style="background-color: #fcfcfc; color: #004000; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif;"&gt;alled&lt;SPAN style="display: inline !important; float: none; background-color: #fcfcfc; color: #404040; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #004000;"&gt;&lt;CITE style="box-sizing: border-box; color: #404040; font-family: &amp;amp;quot; lato&amp;amp;quot;,&amp;amp;quot;proxima-nova&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,arial,sans-serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;categories&lt;/CITE&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fcfcfc; color: #404040; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;, is available as a property on &lt;/SPAN&gt;&lt;CITE style="box-sizing: border-box; color: #404040; font-family: &amp;amp;quot; lato&amp;amp;quot;,&amp;amp;quot;proxima-nova&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,arial,sans-serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;gis.content&lt;/CITE&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fcfcfc; color: #404040; font-family: 'Lato','proxima-nova','Helvetica Neue',Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; or on &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CITE style="box-sizing: border-box; color: #404040; font-family: &amp;amp;quot; lato&amp;amp;quot;,&amp;amp;quot;proxima-nova&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,arial,sans-serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;gis.groups&lt;SPAN style="color: #001000;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/CITE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My portal groups configuration (title, etc) is stored in a json file (see below for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/452610_group-config.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; and I'm reading &amp;amp; loading using the standard import json lib, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/452611_group-py.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The above code works very well in creating the group &amp;amp; setting the Delete Protection checkbox.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the following line of code and the script still runs with no errors, etc&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;group.categories.schema&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;group_config[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"categories"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the Category section for the Group is still blank as you can see because the 'Set up group categories' button is present&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/452615_group-nocat.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I have to assign the category a different way or is there an issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 05:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/assign-categories-to-portal-group/m-p/766933#M559</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2019-07-08T05:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Categories to Portal Group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/assign-categories-to-portal-group/m-p/766934#M560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I logged a support call and Esri Inc found this issue to be a bug (&lt;SPAN style="font-size: 11.0pt;"&gt;BUG-000124536&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 21:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/assign-categories-to-portal-group/m-p/766934#M560</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2019-10-08T21:30:06Z</dc:date>
    </item>
  </channel>
</rss>

