<?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 Instant App Attachment Viewer not showing attachments (map centric) in ArcGIS Instant Apps Questions</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-attachment-viewer-not-showing/m-p/1349196#M2166</link>
    <description>&lt;P&gt;We have a site with multiple videos and PDFs associated with storm pipes. I created a map-centric Attachment Viewer Instant App last week and ran into issues. Once the user clicks on a few pipes and looks at attachments, the map (and attachment sidebar) stops working correctly. Sometimes it doesn't highlight the pipes, and when you click in the attachment pane, nothing happens.&amp;nbsp; You can move around, but cannot perform any of the intended functions. It seems somewhat similar to the issue in this thread:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-attachment-viewer-error/td-p/1318449" target="_blank"&gt;Instant App attachment viewer error - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tested it by not looking at any videos and only PDFs, and that didn't make a difference.&lt;/P&gt;&lt;P&gt;Our configuration is that I added attachments in a file geodatabase on a local machine, configured ArcGIS Pro, and then uploaded it all to ArcGIS Online (so attachments are on, and it is all hosted). Have since updated the attachments locally and re-uploaded the web layer.&lt;/P&gt;&lt;P&gt;When looking at console I see these errors (that seems to be the reason for the problem?):&lt;BR /&gt;&amp;nbsp;Uncaught Error: div had a p child added, but there is now more than one. You must add unique key properties to make them distinguishable.&lt;BR /&gt;at xZ (index.4349bcda.js:940:16709)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20985)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;/P&gt;&lt;P&gt;The .js file is here (scrubbing out our organization name):&amp;nbsp;&lt;A href="https://XXXX.maps.arcgis.com/apps/instant/attachmentviewer/assets/index.4349bcda.js" target="_blank"&gt;https://XXXX.maps.arcgis.com/apps/instant/attachmentviewer/assets/index.4349bcda.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The line of code that has the marked error is the last line of what I copy/pasted below:&lt;BR /&gt;if (!(s &amp;amp;&amp;amp; (s.key === void 0 ? s.bind : s.key))) {&lt;BR /&gt;for (let o = 0; o &amp;lt; e.length; o++)&lt;BR /&gt;if (o !== t) {&lt;BR /&gt;let a = e[o];&lt;BR /&gt;if (Hle(a, n))&lt;BR /&gt;throw new Error(`${i.vnodeSelector} had a ${n.vnodeSelector} child ${r === "added" ? r : "removed"}, but there is now more than one. You must add unique key properties to make them distinguishable.`)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note - for some reason this instant app doesn't like Verdana bold, which is how we label everything. It is auto-switching to Arial, but wanted to post that info in case that might impact things.&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide!&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 15:27:58 GMT</pubDate>
    <dc:creator>MatthewWoodmansee</dc:creator>
    <dc:date>2023-11-14T15:27:58Z</dc:date>
    <item>
      <title>Instant App Attachment Viewer not showing attachments (map centric)</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-attachment-viewer-not-showing/m-p/1349196#M2166</link>
      <description>&lt;P&gt;We have a site with multiple videos and PDFs associated with storm pipes. I created a map-centric Attachment Viewer Instant App last week and ran into issues. Once the user clicks on a few pipes and looks at attachments, the map (and attachment sidebar) stops working correctly. Sometimes it doesn't highlight the pipes, and when you click in the attachment pane, nothing happens.&amp;nbsp; You can move around, but cannot perform any of the intended functions. It seems somewhat similar to the issue in this thread:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-attachment-viewer-error/td-p/1318449" target="_blank"&gt;Instant App attachment viewer error - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tested it by not looking at any videos and only PDFs, and that didn't make a difference.&lt;/P&gt;&lt;P&gt;Our configuration is that I added attachments in a file geodatabase on a local machine, configured ArcGIS Pro, and then uploaded it all to ArcGIS Online (so attachments are on, and it is all hosted). Have since updated the attachments locally and re-uploaded the web layer.&lt;/P&gt;&lt;P&gt;When looking at console I see these errors (that seems to be the reason for the problem?):&lt;BR /&gt;&amp;nbsp;Uncaught Error: div had a p child added, but there is now more than one. You must add unique key properties to make them distinguishable.&lt;BR /&gt;at xZ (index.4349bcda.js:940:16709)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20985)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;BR /&gt;at xj (index.4349bcda.js:940:21466)&lt;BR /&gt;at Ect (index.4349bcda.js:940:20819)&lt;/P&gt;&lt;P&gt;The .js file is here (scrubbing out our organization name):&amp;nbsp;&lt;A href="https://XXXX.maps.arcgis.com/apps/instant/attachmentviewer/assets/index.4349bcda.js" target="_blank"&gt;https://XXXX.maps.arcgis.com/apps/instant/attachmentviewer/assets/index.4349bcda.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The line of code that has the marked error is the last line of what I copy/pasted below:&lt;BR /&gt;if (!(s &amp;amp;&amp;amp; (s.key === void 0 ? s.bind : s.key))) {&lt;BR /&gt;for (let o = 0; o &amp;lt; e.length; o++)&lt;BR /&gt;if (o !== t) {&lt;BR /&gt;let a = e[o];&lt;BR /&gt;if (Hle(a, n))&lt;BR /&gt;throw new Error(`${i.vnodeSelector} had a ${n.vnodeSelector} child ${r === "added" ? r : "removed"}, but there is now more than one. You must add unique key properties to make them distinguishable.`)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note - for some reason this instant app doesn't like Verdana bold, which is how we label everything. It is auto-switching to Arial, but wanted to post that info in case that might impact things.&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 15:27:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-attachment-viewer-not-showing/m-p/1349196#M2166</guid>
      <dc:creator>MatthewWoodmansee</dc:creator>
      <dc:date>2023-11-14T15:27:58Z</dc:date>
    </item>
  </channel>
</rss>

