<?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 import stylex file into Portal as Web-Style in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/import-stylex-file-into-portal-as-web-style/m-p/1673344#M11819</link>
    <description>&lt;P&gt;I have a style file from ArcGIS Pro (stylex) containing polygon symbols that I'd like to import into my portal as a web-style using Python. The direct method of sharing the web style from ArcGIS Pro works.&lt;/P&gt;&lt;P&gt;Has anyone had any success with this?&lt;/P&gt;&lt;P&gt;I tried `createItem(gis, ItemProperties(item_type=ItemTypeEnum.STYLE.value, type_keywords=["polygonSymbol", "web2d"])`, but this only imports the stylex file. The comand in ArcGIS Pro (Share as Web Style) processes the style and imports a JSON file.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2025 16:07:01 GMT</pubDate>
    <dc:creator>MichaelNüßlein</dc:creator>
    <dc:date>2025-12-16T16:07:01Z</dc:date>
    <item>
      <title>import stylex file into Portal as Web-Style</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/import-stylex-file-into-portal-as-web-style/m-p/1673344#M11819</link>
      <description>&lt;P&gt;I have a style file from ArcGIS Pro (stylex) containing polygon symbols that I'd like to import into my portal as a web-style using Python. The direct method of sharing the web style from ArcGIS Pro works.&lt;/P&gt;&lt;P&gt;Has anyone had any success with this?&lt;/P&gt;&lt;P&gt;I tried `createItem(gis, ItemProperties(item_type=ItemTypeEnum.STYLE.value, type_keywords=["polygonSymbol", "web2d"])`, but this only imports the stylex file. The comand in ArcGIS Pro (Share as Web Style) processes the style and imports a JSON file.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 16:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/import-stylex-file-into-portal-as-web-style/m-p/1673344#M11819</guid>
      <dc:creator>MichaelNüßlein</dc:creator>
      <dc:date>2025-12-16T16:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: import stylex file into Portal as Web-Style</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/import-stylex-file-into-portal-as-web-style/m-p/1673523#M11820</link>
      <description>&lt;P&gt;Sorry i forgot that createitem is ma own&amp;nbsp; function:&lt;/P&gt;&lt;P&gt;def createItem(gis, properties, url=None):&lt;BR /&gt;&amp;nbsp; &amp;nbsp;folders = gis.content.folders&lt;BR /&gt;&amp;nbsp; &amp;nbsp;folder = folders.get()&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;futureItem = folder.add(item_properties=properties, file=url)&lt;/P&gt;&lt;P&gt;return futureItem.result()&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 07:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/import-stylex-file-into-portal-as-web-style/m-p/1673523#M11820</guid>
      <dc:creator>MichaelNüßlein</dc:creator>
      <dc:date>2025-12-17T07:30:33Z</dc:date>
    </item>
  </channel>
</rss>

