<?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 map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1556419#M62264</link>
    <description>&lt;P&gt;I created a feature class in Arc Pro and published it in AGOL for our surveyors to show the locations of their monuments and have the points link to the recorded survey document in our Laserfiche database online.&lt;/P&gt;&lt;P&gt;Here is what the table looks like in Arc Pro, note that in Arc Pro it is a hyperlink and if I click Ctrl and click on the link it will open in my web browser.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_0-1730999012526.png" style="width: 700px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119055i8C55954DD02A5FD9/image-dimensions/700x77?v=v2" width="700" height="77" role="button" title="L77_0-1730999012526.png" alt="L77_0-1730999012526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I published the feature class online and opened it in Map Viewer it no longer shows up as a hyperlink:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_1-1731000290341.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119059i516A1037E0072FCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_1-1731000290341.png" alt="L77_1-1731000290341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I copy and paste the link into my browser it will take me to the correct document.&lt;/P&gt;&lt;P&gt;Note that in the link below the only thing that will change will be the Rec Doc AFN number and that number is stored in my attribute table:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD&lt;/A&gt; - Recorded Documents]:[Rec Doc AFN]="&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;3753011&lt;/FONT&gt;&lt;/STRONG&gt;", [Rec Doc Document Type]="SURVEY"}&lt;/P&gt;&lt;P&gt;In this example when I paste this link in my browser it finds the correct document but the resulting link changes to a random id number that is assigned to the document by laserfiche:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/DocView.aspx?id=31904090&amp;amp;dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchid=10d4a304-5e37-4fd1-a712-26996bc2da7e" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/DocView.aspx?id=31904090&amp;amp;dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchid=10d4a304-5e37-4fd1-a712-26996bc2da7e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The metadata for the survey shows the search criteria that is used, which is how I was able to create the link that I stored in my attribute table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_2-1731000827601.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119061i70194EE6379598CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_2-1731000827601.png" alt="L77_2-1731000827601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used Chat GPT to try to get the hyperlink to work in Arcade in Map Viewer and have been working on it for a day and a half but no matter what I try the hyperlink does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate if someone would&amp;nbsp; please take a look at it.&lt;/P&gt;&lt;P&gt;Attempt 1:&lt;/P&gt;&lt;P&gt;First I tried clicking Add content Arcade, but no matter what I added it didn't show up in the pop up window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_3-1731001025419.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119062i7B001F526E065620/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_3-1731001025419.png" alt="L77_3-1731001025419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next I tried clicking Options, Attribute Expressions, Add Expression and then I was able to see the link I was working on:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_4-1731001095008.png" style="width: 208px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119063iF11530127AEF9AEA/image-dimensions/208x56?v=v2" width="208" height="56" role="button" title="L77_4-1731001095008.png" alt="L77_4-1731001095008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I click Run with the following code, if I copy and paste the output into my web browser it goes to the correct document.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_5-1731001281672.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119064i6BDF2C8800B4C2B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_5-1731001281672.png" alt="L77_5-1731001281672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;afn&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Rec_Doc_AFN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD&lt;/A&gt; - Recorded Documents]:[Rec Doc AFN]=\""&lt;/SPAN&gt;&lt;SPAN&gt;+ &lt;/SPAN&gt;&lt;SPAN&gt;afn&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN&gt;"\", [Rec Doc Document Type]=\"SURVEY\"}"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output Link:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;text:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;'&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD&lt;/A&gt; - Recorded Documents]:[Rec Doc AFN]="3753011", [Rec Doc Document Type]="SURVEY"}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I click Done, and click on the link in the pop-up window it goes to this link instead which says " No results have been returned yet".&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand=" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;(Note that I added a text box with it linked to the expression to get it to show up in the pop-up window)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_7-1731001867443.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119067iD578D46D4B65AD31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_7-1731001867443.png" alt="L77_7-1731001867443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_8-1731001941643.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119068iFE4783A14B78351B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_8-1731001941643.png" alt="L77_8-1731001941643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attempt 2:&lt;/P&gt;&lt;P&gt;Next I tried creating a text box and using it to turn the column in my attribute table that contains the full document link into a hyperlink. But that didn't work either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_6-1731001703129.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119066i91473B07AA5F4AD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_6-1731001703129.png" alt="L77_6-1731001703129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 17:56:53 GMT</pubDate>
    <dc:creator>L77</dc:creator>
    <dc:date>2024-11-07T17:56:53Z</dc:date>
    <item>
      <title>map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1556419#M62264</link>
      <description>&lt;P&gt;I created a feature class in Arc Pro and published it in AGOL for our surveyors to show the locations of their monuments and have the points link to the recorded survey document in our Laserfiche database online.&lt;/P&gt;&lt;P&gt;Here is what the table looks like in Arc Pro, note that in Arc Pro it is a hyperlink and if I click Ctrl and click on the link it will open in my web browser.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_0-1730999012526.png" style="width: 700px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119055i8C55954DD02A5FD9/image-dimensions/700x77?v=v2" width="700" height="77" role="button" title="L77_0-1730999012526.png" alt="L77_0-1730999012526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I published the feature class online and opened it in Map Viewer it no longer shows up as a hyperlink:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_1-1731000290341.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119059i516A1037E0072FCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_1-1731000290341.png" alt="L77_1-1731000290341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I copy and paste the link into my browser it will take me to the correct document.&lt;/P&gt;&lt;P&gt;Note that in the link below the only thing that will change will be the Rec Doc AFN number and that number is stored in my attribute table:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD&lt;/A&gt; - Recorded Documents]:[Rec Doc AFN]="&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;3753011&lt;/FONT&gt;&lt;/STRONG&gt;", [Rec Doc Document Type]="SURVEY"}&lt;/P&gt;&lt;P&gt;In this example when I paste this link in my browser it finds the correct document but the resulting link changes to a random id number that is assigned to the document by laserfiche:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/DocView.aspx?id=31904090&amp;amp;dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchid=10d4a304-5e37-4fd1-a712-26996bc2da7e" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/DocView.aspx?id=31904090&amp;amp;dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchid=10d4a304-5e37-4fd1-a712-26996bc2da7e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The metadata for the survey shows the search criteria that is used, which is how I was able to create the link that I stored in my attribute table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_2-1731000827601.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119061i70194EE6379598CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_2-1731000827601.png" alt="L77_2-1731000827601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used Chat GPT to try to get the hyperlink to work in Arcade in Map Viewer and have been working on it for a day and a half but no matter what I try the hyperlink does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate if someone would&amp;nbsp; please take a look at it.&lt;/P&gt;&lt;P&gt;Attempt 1:&lt;/P&gt;&lt;P&gt;First I tried clicking Add content Arcade, but no matter what I added it didn't show up in the pop up window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_3-1731001025419.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119062i7B001F526E065620/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_3-1731001025419.png" alt="L77_3-1731001025419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next I tried clicking Options, Attribute Expressions, Add Expression and then I was able to see the link I was working on:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_4-1731001095008.png" style="width: 208px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119063iF11530127AEF9AEA/image-dimensions/208x56?v=v2" width="208" height="56" role="button" title="L77_4-1731001095008.png" alt="L77_4-1731001095008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I click Run with the following code, if I copy and paste the output into my web browser it goes to the correct document.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_5-1731001281672.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119064i6BDF2C8800B4C2B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_5-1731001281672.png" alt="L77_5-1731001281672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;afn&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Rec_Doc_AFN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD&lt;/A&gt; - Recorded Documents]:[Rec Doc AFN]=\""&lt;/SPAN&gt;&lt;SPAN&gt;+ &lt;/SPAN&gt;&lt;SPAN&gt;afn&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN&gt;"\", [Rec Doc Document Type]=\"SURVEY\"}"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output Link:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;text:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;'&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD&lt;/A&gt; - Recorded Documents]:[Rec Doc AFN]="3753011", [Rec Doc Document Type]="SURVEY"}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I click Done, and click on the link in the pop-up window it goes to this link instead which says " No results have been returned yet".&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand=" target="_blank" rel="noopener"&gt;https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;(Note that I added a text box with it linked to the expression to get it to show up in the pop-up window)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_7-1731001867443.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119067iD578D46D4B65AD31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_7-1731001867443.png" alt="L77_7-1731001867443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_8-1731001941643.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119068iFE4783A14B78351B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_8-1731001941643.png" alt="L77_8-1731001941643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attempt 2:&lt;/P&gt;&lt;P&gt;Next I tried creating a text box and using it to turn the column in my attribute table that contains the full document link into a hyperlink. But that didn't work either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="L77_6-1731001703129.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119066i91473B07AA5F4AD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="L77_6-1731001703129.png" alt="L77_6-1731001703129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 17:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1556419#M62264</guid>
      <dc:creator>L77</dc:creator>
      <dc:date>2024-11-07T17:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1560897#M62501</link>
      <description>&lt;P&gt;I still haven't made any progress on getting my hyperlink to work, if anyone has any advice I would appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 18:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1560897#M62501</guid>
      <dc:creator>L77</dc:creator>
      <dc:date>2024-11-20T18:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1576113#M63188</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/562438"&gt;@L77&lt;/a&gt;&amp;nbsp;it's the "{" that are the problem in URL that are the problem. You are doing everything right, it's just the way it parses that expression that's causing the issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a test I used the URL - "&lt;A href="https://www.google.com/&amp;quot;" target="_blank"&gt;https://www.google.com/"&lt;/A&gt;&amp;nbsp;it works fine.&amp;nbsp;&lt;BR /&gt;In fact, it even recognizes the attribute value as a URL in the pop-up without any&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_KIWI4_0-1736996537233.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123445i89714463951F7B90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_KIWI4_0-1736996537233.png" alt="gis_KIWI4_0-1736996537233.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I would suggest is that you encode the special characters.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Arcade Expression

// 1. Original URL with special characters
var fullUrl = "https://www.cowlitzinfo.net/WLAudPublicWorks/Search.aspx?dbid=0&amp;amp;repo=CCIMAGES&amp;amp;searchcommand={[AUD - Recorded Documents]:[Rec Doc AFN]=3102328}";

// 2. Manually replace special characters with percent-encoded values
var encodedUrl = Replace(fullUrl, " ", "%20");
encodedUrl = Replace(encodedUrl, "{", "%7B");
encodedUrl = Replace(encodedUrl, "}", "%7D");
encodedUrl = Replace(encodedUrl, "[", "%5B");
encodedUrl = Replace(encodedUrl, "]", "%5D");
encodedUrl = Replace(encodedUrl, "=", "%3D");

// 3. Return the fully encoded URL
return encodedUrl;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;fullURL can be set to whatever attribute has the URL in it.&amp;nbsp;&lt;BR /&gt;I can't test it but it looks like it might work.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_KIWI4_1-1736998273112.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123446i992DAEF036913CF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_KIWI4_1-1736998273112.png" alt="gis_KIWI4_1-1736998273112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 03:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1576113#M63188</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2025-01-16T03:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1577550#M63251</link>
      <description>&lt;P&gt;I tried that but it wasn't working. I spent a few hours trying to use the query you gave me to get it to work using chat gpt too, but that also didn't work.&lt;/P&gt;&lt;P&gt;The worst part is this worked well in web app viewer classic and in web app builder. I don't know what I am doing wrong but I have tried dozens of scripts. Some will direct to the laserfiche site but none go to the specific document.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 19:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1577550#M63251</guid>
      <dc:creator>L77</dc:creator>
      <dc:date>2025-01-21T19:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1582210#M63512</link>
      <description>&lt;P&gt;I met with ESRI tech support and they filed this as a bug.&lt;/P&gt;&lt;P&gt;&lt;A href="https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000173571" target="_blank"&gt;https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000173571&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The URL added to a text in the pop-up is truncated when there is a curly bracket '{}' after the equal sign in the URL."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 14:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1582210#M63512</guid>
      <dc:creator>L77</dc:creator>
      <dc:date>2025-02-05T14:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1599906#M64175</link>
      <description>&lt;P&gt;After working to resolve my hyperlink issues since November I finally received a no reply back email from ESRI support regarding this issue: It took them months to tell me that using special characters in hyperlinks is now considered a security issue, and so it is "by design, and not actually a bug. UGH!&lt;/P&gt;&lt;P&gt;Why did that take them months to communicate this? Shouldn't this be in some sort of documentation.&lt;/P&gt;&lt;P&gt;Here is the email in case you run across the same issue:&lt;/P&gt;&lt;P&gt;Bug fixes are addressed in upcoming releases or general patches, or they may be addressed as ad-hoc fixes. Enhancement requests are implemented in upcoming releases.&lt;BR /&gt;&lt;BR /&gt;Updates have been made to the following defect which you are associated with:&lt;BR /&gt;&lt;STRONG&gt;BUG-000173571&lt;/STRONG&gt; - The URL added to a text in the pop-up is truncated when there is a curly bracket '{}' after the equal sign in the URL.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Status:&lt;/STRONG&gt; As Designed (&lt;A href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flinkprotect.cudasvc.com%2Furl%3Fa%3Dhttps%253a%252f%252fsupport.esri.com%252fen%252fBug-Enhancement-Status%26c%3DE%2C1%2C9H-PeQu380Ow0nvX1D5ZuM7nvr5vIhXHPmWDbhkf4jEv1lgsHK5DwnPzNamn16mRdQCEJR2pZhUcfdjURryozr14fzHdQOsw0ulfmR9zCuE%2C%26typo%3D1&amp;amp;data=05%7C02%7Cfullerl%40cowlitzwa.gov%7C2046433d543e4074f29208dd6c792910%7C064b4393d3c54456b0dd56cb35f9156b%7C0%7C0%7C638785989843232741%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=%2BWmkLlLHU3c5XuiqJV27q3Ml9Kc1BdWEI%2BrQWXt2n%2Bg%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;Learn More&lt;/A&gt;)&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Additional Information: &lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;Curly braces are designated as unsafe characters to include within URLs and must be encoded to be used safely. Otherwise, the values will be sanitized from the URL. Information on unsafe characters in URLs: &lt;A href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flinkprotect.cudasvc.com%2Furl%3Fa%3Dhttps%253a%252f%252fsupport.exactonline.com%252fcommunity%252fs%252fknowledge-base%2523All-All-DNO-Content-urlcharacters%26c%3DE%2C1%2Cdt5Ctz4hLoVQr-kYIL6yMBzGbnWjf9O0uv4XEExeHnffsnO0-US9BKHqvyzh00XQurkcMvBKExbVMIG5oI8r7yhS2d4WpIMiAFFCWQ7wz6mAEWqtxwmgOHt1A7YJ%26typo%3D1%26ancr_add%3D1&amp;amp;data=05%7C02%7Cfullerl%40cowlitzwa.gov%7C2046433d543e4074f29208dd6c792910%7C064b4393d3c54456b0dd56cb35f9156b%7C0%7C0%7C638785989843250391%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=%2F2WxAYqWHtS2Aj%2FKl4hM6o9GfeWdFL6awWmM%2F0d6us8%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;https://support.exactonline.com/community/s/knowledge-base#All-All-DNO-Content-urlcharacters&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please note that links containing curly braces can be successfully launched from other places, e.g. the attribute table. This is a bug and will be fixed in the next updates of ArcGIS Online and Enterprise.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternate Solution: &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There are several safe options for generating a URL for pop-ups that include a specific value or have a value change dynamically. 1. Use the link tool in the text editor to create the link. The link can be static or dynamic, e.g. baseURL + {field_name}. The curly braces in this case are not part of the URL, they're ArcGIS's way of referencing a field or attribute expression so that values from your dataset can be dynamically inserted. 2. Use Arcade to generate the URL. Either using attribute expressions or Arcade elements. For example, return 'baseURL' + $feature.ID OR leverage the text functions Right() and EncodeURL() to extract and encode the value enclosed in curly braces and then add that to the base URL.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank You,&lt;BR /&gt;&lt;BR /&gt;Esri Inc.&lt;BR /&gt;THE SCIENCE OF WHERE™&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 13:08:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1599906#M64175</guid>
      <dc:creator>L77</dc:creator>
      <dc:date>2025-03-27T13:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: map viewer - need a hyperlink in pop-up window to laserfiche documents based on data stored in column in feature class</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1678167#M67611</link>
      <description>&lt;P&gt;'#' and '&amp;amp;' also cause problems.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 19:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-viewer-need-a-hyperlink-in-pop-up-window-to/m-p/1678167#M67611</guid>
      <dc:creator>Laura</dc:creator>
      <dc:date>2026-01-15T19:24:15Z</dc:date>
    </item>
  </channel>
</rss>

