<?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 Generate Attachment URL's? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/generate-attachment-url-s/m-p/248587#M9602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have a feature service hosted on an internal server with a table of attachments.&amp;nbsp; I am using these attachments in an AGOL web application with pop-ups.&amp;nbsp; The pop-up link opens a new browser window with a URL similar to "servername/arcgis/rest/services/Feature_Dataset_Name/Feature_Class_Name/FeatureServer/0/75362/attachments/62855".&amp;nbsp; I was wondering if there is a way to generate a batch table that will contain the URL's for all of my attachments?&amp;nbsp; I would like to use these URL's in applications outside of AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 13:02:55 GMT</pubDate>
    <dc:creator>PaulBoehnlein</dc:creator>
    <dc:date>2015-11-03T13:02:55Z</dc:date>
    <item>
      <title>Generate Attachment URL's?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/generate-attachment-url-s/m-p/248587#M9602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have a feature service hosted on an internal server with a table of attachments.&amp;nbsp; I am using these attachments in an AGOL web application with pop-ups.&amp;nbsp; The pop-up link opens a new browser window with a URL similar to "servername/arcgis/rest/services/Feature_Dataset_Name/Feature_Class_Name/FeatureServer/0/75362/attachments/62855".&amp;nbsp; I was wondering if there is a way to generate a batch table that will contain the URL's for all of my attachments?&amp;nbsp; I would like to use these URL's in applications outside of AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 13:02:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/generate-attachment-url-s/m-p/248587#M9602</guid>
      <dc:creator>PaulBoehnlein</dc:creator>
      <dc:date>2015-11-03T13:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Attachment URL's?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/generate-attachment-url-s/m-p/248588#M9603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, couldn't you just execute a query? Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservername%2Farcgis%2Frest%2Fservices%2Fserverdirectory%2Fmapservice%2FMapServer%2F0%2Fquery%3Fwhere%3Dobjectid%2Bis%2Bnot%2Bnull" rel="nofollow" target="_blank"&gt;https://servername/arcgis/rest/services/serverdirectory/mapservice/MapServer/0/query?where=objectid+is+not+null&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;text=&lt;/P&gt;&lt;P&gt;&amp;amp;objectIds=&lt;/P&gt;&lt;P&gt;&amp;amp;time=&lt;/P&gt;&lt;P&gt;&amp;amp;geometry=&lt;/P&gt;&lt;P&gt;&amp;amp;geometryType=esriGeometryEnvelope&lt;/P&gt;&lt;P&gt;&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&lt;/P&gt;&lt;P&gt;&amp;amp;relationParam=&lt;/P&gt;&lt;P&gt;&amp;amp;outFields=ObjectID,URL&lt;/P&gt;&lt;P&gt;&amp;amp;returnGeometry=false&lt;/P&gt;&lt;P&gt;&amp;amp;maxAllowableOffset=&lt;/P&gt;&lt;P&gt;&amp;amp;geometryPrecision=&lt;/P&gt;&lt;P&gt;&amp;amp;outSR=&lt;/P&gt;&lt;P&gt;&amp;amp;returnIdsOnly=false&lt;/P&gt;&lt;P&gt;&amp;amp;returnCountOnly=false&lt;/P&gt;&lt;P&gt;&amp;amp;orderByFields=&lt;/P&gt;&lt;P&gt;&amp;amp;groupByFieldsForStatistics=&lt;/P&gt;&lt;P&gt;&amp;amp;outStatistics=&lt;/P&gt;&lt;P&gt;&amp;amp;returnZ=false&lt;/P&gt;&lt;P&gt;&amp;amp;returnM=false&lt;/P&gt;&lt;P&gt;&amp;amp;gdbVersion=&lt;/P&gt;&lt;P&gt;&amp;amp;returnDistinctValues=false&lt;/P&gt;&lt;P&gt;&amp;amp;returnTrueCurves=false&lt;/P&gt;&lt;P&gt;&amp;amp;resultOffset=&lt;/P&gt;&lt;P&gt;&amp;amp;resultRecordCount=&lt;/P&gt;&lt;P&gt;&amp;amp;f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would get you a JSON object you can consume outside of AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 19:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/generate-attachment-url-s/m-p/248588#M9603</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-11-04T19:32:08Z</dc:date>
    </item>
  </channel>
</rss>

