<?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 Attachment Viewer timeout in ArcGIS Instant Apps Questions</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073318#M24</link>
    <description>&lt;P&gt;I have set of photos from a sidewalk survey (about 300 points) and around 1,000 photos spread across those points (1-10+ photos per point) that are "Attached" to the feature class at the SDE level. The photos are large, about 10MB each and the entire store of photos is about 11GB total.&amp;nbsp; When trying to deploy the Attachment Viewer configurable app in our Enterprise Portal (10.8.1) I get the "No Attachments Found" message similar to what others have posted.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The layer added to the map IS an attachments-enabled Feature layer (no warnings popup to say otherwise in the Attachment Viewer config)&lt;/LI&gt;&lt;LI&gt;Through some digging I noted that Server was logging a ton of SEVERE timeout warnings.&lt;/LI&gt;&lt;LI&gt;I set max use time to &amp;gt;10 minutes and it still doesn't work.&lt;/LI&gt;&lt;LI&gt;But in particular, I noted that the Attachment Viewer widget executes a "queryAttachments" command on the &lt;U&gt;entire&lt;/U&gt; attachments table associated with the Feature Class. "...&lt;SPAN&gt;&lt;SPAN class="url-filename"&gt;FeatureServer/0/queryAttachments&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;?&lt;/SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-name"&gt;f&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;=&lt;/SPAN&gt;&lt;SPAN class="url-params-value"&gt;json&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-name"&gt;returnMetadata&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;=&lt;/SPAN&gt;&lt;SPAN class="url-params-value"&gt;true&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-name"&gt;definitionExpression&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;=&lt;/SPAN&gt;&lt;SPAN class="url-params-value"&gt;1=1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;" and which eventually throws an "ATTACHMENT QUERY ERROR" "Timeout Exceeded" to the browser console.&amp;nbsp; But this error is thrown much sooner than any timeout error configured in Server.&lt;/LI&gt;&lt;LI&gt;Subsequent "queryAttachments" calls on individual features are successful, even if they take a while (e.g,. 20 seconds) but something must&amp;nbsp; be goofy in the app state and no pictures are loaded.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I wonder if this is related to this bug: &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzI4MQ==" target="_blank" rel="noopener"&gt;https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzI4MQ==&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or maybe I just have too many&amp;nbsp; / too large of attachments?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jun 2021 17:03:14 GMT</pubDate>
    <dc:creator>JonathanDandois</dc:creator>
    <dc:date>2021-06-28T17:03:14Z</dc:date>
    <item>
      <title>Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073318#M24</link>
      <description>&lt;P&gt;I have set of photos from a sidewalk survey (about 300 points) and around 1,000 photos spread across those points (1-10+ photos per point) that are "Attached" to the feature class at the SDE level. The photos are large, about 10MB each and the entire store of photos is about 11GB total.&amp;nbsp; When trying to deploy the Attachment Viewer configurable app in our Enterprise Portal (10.8.1) I get the "No Attachments Found" message similar to what others have posted.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The layer added to the map IS an attachments-enabled Feature layer (no warnings popup to say otherwise in the Attachment Viewer config)&lt;/LI&gt;&lt;LI&gt;Through some digging I noted that Server was logging a ton of SEVERE timeout warnings.&lt;/LI&gt;&lt;LI&gt;I set max use time to &amp;gt;10 minutes and it still doesn't work.&lt;/LI&gt;&lt;LI&gt;But in particular, I noted that the Attachment Viewer widget executes a "queryAttachments" command on the &lt;U&gt;entire&lt;/U&gt; attachments table associated with the Feature Class. "...&lt;SPAN&gt;&lt;SPAN class="url-filename"&gt;FeatureServer/0/queryAttachments&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;?&lt;/SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-name"&gt;f&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;=&lt;/SPAN&gt;&lt;SPAN class="url-params-value"&gt;json&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-name"&gt;returnMetadata&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;=&lt;/SPAN&gt;&lt;SPAN class="url-params-value"&gt;true&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-name"&gt;definitionExpression&lt;/SPAN&gt;&lt;SPAN class="url-chars"&gt;=&lt;/SPAN&gt;&lt;SPAN class="url-params-value"&gt;1=1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;" and which eventually throws an "ATTACHMENT QUERY ERROR" "Timeout Exceeded" to the browser console.&amp;nbsp; But this error is thrown much sooner than any timeout error configured in Server.&lt;/LI&gt;&lt;LI&gt;Subsequent "queryAttachments" calls on individual features are successful, even if they take a while (e.g,. 20 seconds) but something must&amp;nbsp; be goofy in the app state and no pictures are loaded.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I wonder if this is related to this bug: &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzI4MQ==" target="_blank" rel="noopener"&gt;https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzI4MQ==&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or maybe I just have too many&amp;nbsp; / too large of attachments?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 17:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073318#M24</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2021-06-28T17:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073331#M25</link>
      <description>&lt;P&gt;Is your app publicly available? If so can you send me the url - feel free to email it at &lt;A href="mailto:khutchins@esri.com" target="_blank"&gt;khutchins@esri.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If its not can you check and see if you've enabled the following setting. If so can you disable it and see if it helps?&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Under Interactivity &amp;gt; Modify &amp;gt; "Only display features with attachments"&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 28 Jun 2021 17:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073331#M25</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-06-28T17:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073363#M26</link>
      <description>&lt;P&gt;Thanks Kelly. This is on-prem, so I can't share the URL. I disabled that setting and it is behaving the same. Interestingly, i just checked against a draft version of this same dataset (1000 pics) that is Hosted in our Portal and it has no issues. the "queryAttachments 1=1" returns in under a second. The Attachment Viewer app built from a Map on that dataset runs as expected, albeit changing photos has a bit of lag because they are so large. Not sure why there would be a difference between SDE and Hosted, but maybe I need to go with Hosted?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 18:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073363#M26</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2021-06-28T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073742#M27</link>
      <description>&lt;P&gt;Hi Jonathan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad to hear that you got the Attachment Viewer app working from a hosted data set. Please review the details under 'Data Requirements' on Attachment Viewer's item details page as that explains what is needed to get your app up and running successfully.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=65dd2fa3369649529b2c5939333977a1" target="_blank"&gt;https://www.arcgis.com/home/item.html?id=65dd2fa3369649529b2c5939333977a1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are also some performance improvements in Attachment Viewer coming at tonight's June 2021 ArcGIS Online update. So hopefully there is a difference in the amount of time it takes for your app's images to load.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Additionally, we have addressed a 'No attachments found' issue that will also be included in tonight's update.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 15:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1073742#M27</guid>
      <dc:creator>RyanLibed</dc:creator>
      <dc:date>2021-06-29T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1074279#M28</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/404461"&gt;@RyanLibed&lt;/a&gt;.&amp;nbsp;I ended up redeploying the exact same dataset as Hosted in our Portal and the Attachment Viewer app works as expected, granted a bit slow due to the image file size.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that when I deployed from a Server feature service I met the Data Requirements that you pointed to, but perhaps there is something goofy with our SQL Server side that is making something go haywire.&amp;nbsp; I'll look to those patches on the app moving forward.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1074279#M28</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2021-06-30T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149758#M1099</link>
      <description>&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;Did you ever figure out how to make this work without using a hosted feature service? I am having the exact same troubles and I was told by ESRI support that if my dataset is larger than 2GB it will not work in Hosted or Non-Hosted services.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 18:34:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149758#M1099</guid>
      <dc:creator>RyanJalynski</dc:creator>
      <dc:date>2022-03-02T18:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149777#M1100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/341235"&gt;@RyanJalynski&lt;/a&gt;&amp;nbsp;I didn't. I ended up leaving it Hosted. I think I have a task to update the App in our deployment, but I never got around to patching it.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 18:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149777#M1100</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2022-03-02T18:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149780#M1101</link>
      <description>&lt;P&gt;Are you still using 10.8.1 or did you ever upgrade to 10.9.1? I'm curious if this ends up resolving itself when we upgrade (currently on 10.8.1).&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 19:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149780#M1101</guid>
      <dc:creator>RyanJalynski</dc:creator>
      <dc:date>2022-03-02T19:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149799#M1102</link>
      <description>Still on 10.8.1, not moved to 10.9.1 yet, but we have been discussing it. The Attachment Viewer app isn't getting much use, but since I can't put it anywhere else, I don't want to pull it down yet.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2022 19:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149799#M1102</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2022-03-02T19:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149811#M1103</link>
      <description>&lt;P&gt;I just noticed &lt;SPAN&gt;#BUG-000141013 &lt;EM&gt;(The Query Attachments operation does not complete when there is a large number of attachments in a feature service.)&lt;/EM&gt; was attached to my case with ESRI.&amp;nbsp; It states that this is resolved in version 10.9.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Attachment Viewer app has been updated to use pagination which is the correct approach when working with large numbers of attachments.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We are actually upgrading next weekend, I'll post again around that time and let you know if that worked for us.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 19:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1149811#M1103</guid>
      <dc:creator>RyanJalynski</dc:creator>
      <dc:date>2022-03-02T19:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment Viewer timeout</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1168943#M1244</link>
      <description>&lt;P&gt;Upgrading to 10.9.1 did in fact fix this issue for us.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 17:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-timeout/m-p/1168943#M1244</guid>
      <dc:creator>RyanJalynski</dc:creator>
      <dc:date>2022-04-28T17:33:58Z</dc:date>
    </item>
  </channel>
</rss>

