<?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: Links in popups don't work since migration to Portal 11.4 in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1612195#M16516</link>
    <description>&lt;P&gt;Hmm, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/175994"&gt;@Geraldine&lt;/a&gt;&amp;nbsp;I was convinced something like this would work in the Portal Map Viewer at 11.4, same release as you, because this is how I construct the link with the link function:&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;https://www.sc-pa.com/propertysearch/parcel/details/{id}&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;just inserting that raw string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I thought surely I can just re-construct this, like so&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="javascript"&gt;var urlpre = 'https://www.sc-pa.com/propertysearch/parcel/details/';
var urlsuf = $feature.id;
var myurl = urlpre + urlsuf;
//'https://www.sc-pa.com/propertysearch/parcel/details/{id}
Console(myurl);
//'https://www.sc-pa.com/propertysearch/parcel/details/2027070041
return myurl;&lt;/LI-CODE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and then for the Text Editor Link function pass in:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{expression/expr0}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;which produces:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://www.sc-pa.com/propertysearch/parcel/details/{id" target="_blank" rel="noopener"&gt;https://www.sc-pa.com/propertysearch/parcel/details/{id&lt;/A&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but then like you said the link function thinks its a link but its not.&amp;nbsp; It goes away because for whatever reason its not encoding the url properly.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So I tried shortening the urlpre var to:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="javascript"&gt;var urlpre = 'propertysearch/parcel/details/';
var urlsuf = $feature.id;
var myurl = urlpre + urlsuf;
//'propertysearch/parcel/details/{id}
Console(myurl);
//propertysearch/parcel/details/2027070041
return myurl;&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and then in the Text Editor Link Function construct it like:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://www.sc-pa.com/{expression/expr0" target="_blank" rel="noopener"&gt;'https://www.sc-pa.com/{expression/expr0&lt;/A&gt;}'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;and then that works.&amp;nbsp; It returns like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;'&lt;SPAN&gt;&lt;A href="https://www.sc-pa.com/propertysearch%Fparcel%Fdetails%F{id" target="_blank" rel="noopener"&gt;https://www.sc-pa.com/propertysearch%Fparcel%Fdetails%F{id&lt;/A&gt;}&lt;/SPAN&gt;'&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Where the '/ ' forward slashes get returned as url encoded %F&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pain in the butt and it only works if your prefix can remain the same.&amp;nbsp; I even tried setting up my urlpre var as fully encoded like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;https%3A%2F%2Fwww.sc-pa.com%2Fpropertysearch%2Fparcel%2Fdetails%2F&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and it still didn't work.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 May 2025 20:36:20 GMT</pubDate>
    <dc:creator>DavidColey</dc:creator>
    <dc:date>2025-05-06T20:36:20Z</dc:date>
    <item>
      <title>Links in popups don't work since migration to Portal 11.4</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611637#M16500</link>
      <description>&lt;P&gt;I use the link function to hide urls behind text in my popups. Those urls are stored in a field.&lt;/P&gt;&lt;P&gt;Since our migration to Portal 11.4, the link (to the field storing the url) disappears when saving the configuration window of the popup.&lt;/P&gt;&lt;P&gt;This only happens with new popups. Links in popups created prior to the migration to 11.4 still work. Is this a bug? Or a configuration issue in our Portal?&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6372369633112w1600h520r879" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6372369633112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6372369633112w1600h520r879');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6372369633112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 14:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611637#M16500</guid>
      <dc:creator>Geraldine</dc:creator>
      <dc:date>2025-05-05T14:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Links in popups don't work since migration to Portal 11.4</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611752#M16505</link>
      <description>&lt;P&gt;I don't know but you could make a simple expression in the popup with Arcade. Something like&lt;/P&gt;&lt;P&gt;Title: UrlExpression&lt;/P&gt;&lt;P&gt;var returl = $feature.url;&lt;/P&gt;&lt;P&gt;return returl;&lt;/P&gt;&lt;P&gt;and then enter the {UrlExpression} field as the field to be used in the link . . .&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 18:55:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611752#M16505</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2025-05-05T18:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Links in popups don't work since migration to Portal 11.4</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611853#M16509</link>
      <description>&lt;P&gt;Hi David, thanks for your reply, but it's the same issue, the link to the expression disappears when closing the popup window.&lt;/P&gt;&lt;P&gt;Many of my layers are WFS and they don't support Arcade expressions anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 05:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611853#M16509</guid>
      <dc:creator>Geraldine</dc:creator>
      <dc:date>2025-05-06T05:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Links in popups don't work since migration to Portal 11.4</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611858#M16510</link>
      <description>&lt;P&gt;Well this is a bug apparently, though I experience it in Portal only, not in ArcGIS Online:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/links-configured-in-the-map-viewer-popups-are-not-retai-bug-000176164" target="_blank"&gt;BUG-000176164 for ArcGIS Online&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The proposed workaround doens't work for me, so I guess I'll have to wait for Portal 11.5&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 06:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1611858#M16510</guid>
      <dc:creator>Geraldine</dc:creator>
      <dc:date>2025-05-06T06:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Links in popups don't work since migration to Portal 11.4</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1612195#M16516</link>
      <description>&lt;P&gt;Hmm, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/175994"&gt;@Geraldine&lt;/a&gt;&amp;nbsp;I was convinced something like this would work in the Portal Map Viewer at 11.4, same release as you, because this is how I construct the link with the link function:&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;https://www.sc-pa.com/propertysearch/parcel/details/{id}&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;just inserting that raw string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I thought surely I can just re-construct this, like so&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="javascript"&gt;var urlpre = 'https://www.sc-pa.com/propertysearch/parcel/details/';
var urlsuf = $feature.id;
var myurl = urlpre + urlsuf;
//'https://www.sc-pa.com/propertysearch/parcel/details/{id}
Console(myurl);
//'https://www.sc-pa.com/propertysearch/parcel/details/2027070041
return myurl;&lt;/LI-CODE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and then for the Text Editor Link function pass in:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{expression/expr0}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;which produces:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://www.sc-pa.com/propertysearch/parcel/details/{id" target="_blank" rel="noopener"&gt;https://www.sc-pa.com/propertysearch/parcel/details/{id&lt;/A&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but then like you said the link function thinks its a link but its not.&amp;nbsp; It goes away because for whatever reason its not encoding the url properly.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So I tried shortening the urlpre var to:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="javascript"&gt;var urlpre = 'propertysearch/parcel/details/';
var urlsuf = $feature.id;
var myurl = urlpre + urlsuf;
//'propertysearch/parcel/details/{id}
Console(myurl);
//propertysearch/parcel/details/2027070041
return myurl;&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and then in the Text Editor Link Function construct it like:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://www.sc-pa.com/{expression/expr0" target="_blank" rel="noopener"&gt;'https://www.sc-pa.com/{expression/expr0&lt;/A&gt;}'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;and then that works.&amp;nbsp; It returns like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;'&lt;SPAN&gt;&lt;A href="https://www.sc-pa.com/propertysearch%Fparcel%Fdetails%F{id" target="_blank" rel="noopener"&gt;https://www.sc-pa.com/propertysearch%Fparcel%Fdetails%F{id&lt;/A&gt;}&lt;/SPAN&gt;'&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Where the '/ ' forward slashes get returned as url encoded %F&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pain in the butt and it only works if your prefix can remain the same.&amp;nbsp; I even tried setting up my urlpre var as fully encoded like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;https%3A%2F%2Fwww.sc-pa.com%2Fpropertysearch%2Fparcel%2Fdetails%2F&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and it still didn't work.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 May 2025 20:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1612195#M16516</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2025-05-06T20:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Links in popups don't work since migration to Portal 11.4</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1618937#M16560</link>
      <description>&lt;P&gt;I'm also experiencing this with a solution I built in 11.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I generate a link that combines various fields to be used in the final URL. I put the {expression/exp0} in the URL Link and it worked great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It still works flawlessly but as you stated, as soon as I open the Text Editor all the URL's break. So I can't update anything at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried a bunch of URL Encoding fixes and tried to trick it a few different ways with no luck yet. I plan to open a premium ticket so will post back if I hear anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 16:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/links-in-popups-don-t-work-since-migration-to/m-p/1618937#M16560</guid>
      <dc:creator>DougYurek</dc:creator>
      <dc:date>2025-05-28T16:43:02Z</dc:date>
    </item>
  </channel>
</rss>

