<?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: Image Attachment Popup Keeps Breaking for Hosted Feature Layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/image-attachment-popup-keeps-breaking-for-hosted/m-p/1092120#M41879</link>
    <description>&lt;P&gt;The URL doesn't change, but the token ("hosted" in your script) does.&lt;/P&gt;&lt;P&gt;Try removing the token part. In my case, that leads to the following behavior:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I first open a popup containing an image, the image is broken, but the link still works.&lt;/LI&gt;&lt;LI&gt;I click on the broken image link, the image opens.&lt;/LI&gt;&lt;LI&gt;Every other popup containing an image now works as expected.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 08:07:50 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2021-08-25T08:07:50Z</dc:date>
    <item>
      <title>Image Attachment Popup Keeps Breaking for Hosted Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/image-attachment-popup-keeps-breaking-for-hosted/m-p/1090016#M41781</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a HFL that needs the image displayed in the popup. This I've figured out with no problem, but it seems that the Arcade script used to configure the attachment URL breaks everyday.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do hosted Feature Layer URLs change? As soon as I re-enter the URL into into the separate variables, it works immediately. But how do I stop having the link break?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the steps I follow (images are attached also):&lt;/P&gt;&lt;P&gt;1. Create the Attribute Expression with Arcade (in the attached text file)&lt;/P&gt;&lt;P&gt;2. Take that expression url {expression/expr0} and past it into the Pop-up Media &amp;gt; Image &amp;gt; URL field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong or does this have to do with the Hosted Feature Layer? Any help is appreciated! Thank you in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 16:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/image-attachment-popup-keeps-breaking-for-hosted/m-p/1090016#M41781</guid>
      <dc:creator>MeghJones</dc:creator>
      <dc:date>2021-08-18T16:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Image Attachment Popup Keeps Breaking for Hosted Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/image-attachment-popup-keeps-breaking-for-hosted/m-p/1092120#M41879</link>
      <description>&lt;P&gt;The URL doesn't change, but the token ("hosted" in your script) does.&lt;/P&gt;&lt;P&gt;Try removing the token part. In my case, that leads to the following behavior:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I first open a popup containing an image, the image is broken, but the link still works.&lt;/LI&gt;&lt;LI&gt;I click on the broken image link, the image opens.&lt;/LI&gt;&lt;LI&gt;Every other popup containing an image now works as expected.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:07:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/image-attachment-popup-keeps-breaking-for-hosted/m-p/1092120#M41879</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-08-25T08:07:50Z</dc:date>
    </item>
  </channel>
</rss>

