<?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 Re: Portal Share (Get Share URL) in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809466#M2408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can obtain the item id from your item variable (item.id) and append it to a URL with /data at the end.&amp;nbsp; Here is an example URL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jake2.esri.com/portal/sharing/rest/content/items/ecde8afdd7cb4e24971a45e84fae4061/data" title="https://jake2.esri.com/portal/sharing/rest/content/items/ecde8afdd7cb4e24971a45e84fae4061/data"&gt;https://&amp;lt;portal.domain.com&amp;gt;/&amp;lt;webadaptor&amp;gt;/sharing/rest/content/items/&amp;lt;itemid&amp;gt;/data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2020 01:44:29 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2020-04-22T01:44:29Z</dc:date>
    <item>
      <title>Portal Share (Get Share URL)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809465#M2407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added and shared a CSV onto Portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item = gis.content.add(file_properties, file)&lt;BR /&gt; item_share = item.share(everyone=True, org=True, groups=None, allow_members_to_edit=False)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I retrieve the share-url?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 18:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809465#M2407</guid>
      <dc:creator>GregHorne</dc:creator>
      <dc:date>2020-04-21T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Portal Share (Get Share URL)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809466#M2408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can obtain the item id from your item variable (item.id) and append it to a URL with /data at the end.&amp;nbsp; Here is an example URL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jake2.esri.com/portal/sharing/rest/content/items/ecde8afdd7cb4e24971a45e84fae4061/data" title="https://jake2.esri.com/portal/sharing/rest/content/items/ecde8afdd7cb4e24971a45e84fae4061/data"&gt;https://&amp;lt;portal.domain.com&amp;gt;/&amp;lt;webadaptor&amp;gt;/sharing/rest/content/items/&amp;lt;itemid&amp;gt;/data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 01:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809466#M2408</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-04-22T01:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Portal Share (Get Share URL)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809467#M2409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/809467#M2409</guid>
      <dc:creator>GregHorne</dc:creator>
      <dc:date>2020-04-22T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Portal Share (Get Share URL)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/1195462#M7589</link>
      <description>&lt;P&gt;I am trying to use this format to generate share links for some of my webmaps. But when I try this URL format it just returns JSON. How do I make it return the webmap as a public link?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/portal-share-get-share-url/m-p/1195462#M7589</guid>
      <dc:creator>JakeLovelace</dc:creator>
      <dc:date>2022-07-25T16:25:53Z</dc:date>
    </item>
  </channel>
</rss>

