<?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: Note not displaying a custom url in web app in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017838#M32002</link>
    <description>&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;I would recommend that you use the Concat() function in the calculation field as the Survey123 webform can be problematic is these cases.&lt;/P&gt;&lt;P&gt;Once I inserted your HTML script into the calculation field, I was able to display the hyperlink correctly in both the Field app and the webform.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HyperlinkCalc.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4044i76FA7D11F12BF353/image-size/large?v=v2&amp;amp;px=999" role="button" title="HyperlinkCalc.PNG" alt="HyperlinkCalc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="694"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="694"&gt;&lt;P&gt;concat('&amp;lt;a href="',${school_url},'"&amp;gt;',${school_url},'&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P&gt;concat('&amp;lt;a href=','"&lt;A href="https://community.esri.com/" target="_blank"&gt;https://www.google.com/maps/place/@',${school_lat},${school_lon},',17z"&amp;gt;Google&amp;lt;/a&lt;/A&gt;&amp;gt;')&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alber_Verster_2-1611026272484.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4046i5BD3EE90B5E88F11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alber_Verster_2-1611026272484.png" alt="Alber_Verster_2-1611026272484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 03:21:08 GMT</pubDate>
    <dc:creator>Alber_Verster</dc:creator>
    <dc:date>2021-01-19T03:21:08Z</dc:date>
    <item>
      <title>Note not displaying a custom url in web app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017808#M31997</link>
      <description>&lt;P&gt;I have three attributes,&lt;EM&gt; ${school_url}&lt;/EM&gt;, and &lt;EM&gt;${school_lat} &lt;/EM&gt;and &lt;EM&gt;${school_lon}. &lt;/EM&gt;The current text is included in a 'hint' attribute in Connect:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;br&amp;gt;Website: &amp;lt;a href="${school_url}"&amp;gt;${school_url}&amp;lt;/a&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;Map: &amp;lt;a href="&lt;A target="_blank" rel="noopener"&gt;https://www.google.com/maps/place/@${school_lat},${school_lon},17z"&amp;gt;Google&amp;lt;/a&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Website:&amp;nbsp;&lt;A href="${school_url}" target="_blank" rel="noopener"&gt;${school_url}&lt;/A&gt;&lt;BR /&gt;Map: &lt;A href="https://www.google.com/maps/place/@${school_lat},${school_lon},17z" target="_blank" rel="noopener"&gt;Google&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The mobile version displays properly and hyperlinks work great. However, in the web version I get the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Todd_1-1611016361648.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4037iBB07514154A392EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Todd_1-1611016361648.png" alt="Todd_1-1611016361648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what to add/remove to correct the display, removing the unnecessary items in the hyperlinks (for the the web version).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 00:37:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017808#M31997</guid>
      <dc:creator>Todd</dc:creator>
      <dc:date>2021-01-19T00:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Note not displaying a custom url in web app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017838#M32002</link>
      <description>&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;I would recommend that you use the Concat() function in the calculation field as the Survey123 webform can be problematic is these cases.&lt;/P&gt;&lt;P&gt;Once I inserted your HTML script into the calculation field, I was able to display the hyperlink correctly in both the Field app and the webform.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HyperlinkCalc.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4044i76FA7D11F12BF353/image-size/large?v=v2&amp;amp;px=999" role="button" title="HyperlinkCalc.PNG" alt="HyperlinkCalc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="694"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="694"&gt;&lt;P&gt;concat('&amp;lt;a href="',${school_url},'"&amp;gt;',${school_url},'&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P&gt;concat('&amp;lt;a href=','"&lt;A href="https://community.esri.com/" target="_blank"&gt;https://www.google.com/maps/place/@',${school_lat},${school_lon},',17z"&amp;gt;Google&amp;lt;/a&lt;/A&gt;&amp;gt;')&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alber_Verster_2-1611026272484.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4046i5BD3EE90B5E88F11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alber_Verster_2-1611026272484.png" alt="Alber_Verster_2-1611026272484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 03:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017838#M32002</guid>
      <dc:creator>Alber_Verster</dc:creator>
      <dc:date>2021-01-19T03:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Note not displaying a custom url in web app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017961#M32005</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/112772"&gt;@Alber_Verster&lt;/a&gt;&amp;nbsp;worked kinda. You need an extra ',' included in the map url between the lat/lon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;concat('&amp;lt;a href=','"https://www.google.com/maps/place/@',${school_lat},',',${school_lon},',17z"&amp;gt;Google&amp;lt;/a&amp;gt;')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only issue I still have is embedding the new concat-ed variables in my 'hint' attribute. Once I add them back it jacks it up.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Todd_1-1611073582801.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4074i04BB8C71A6B42949/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Todd_1-1611073582801.png" alt="Todd_1-1611073582801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have several variables I'm adding as you can see and by using the &amp;lt;br&amp;gt; tags it cleans up the display (versus one variable as shown above).&amp;nbsp; I notice the extra space before the address string. Maybe I need to do a &lt;STRONG&gt;concat&amp;nbsp;&lt;/STRONG&gt;on the entire html string?&lt;/P&gt;&lt;P&gt;I'm testing using Edge and not sure how to have the html breaks &amp;lt;br&amp;gt; removed. Here is an example:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;concat(${school_address_street},' ',${school_address_city},', ',${school_address_state}, '&amp;lt;br&amp;gt;',${school_address_county},' County')&lt;/LI-CODE&gt;&lt;P&gt;Here is the result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Todd_0-1611079631934.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4081iD5CA85C29CAE9A92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Todd_0-1611079631934.png" alt="Todd_0-1611079631934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hmmmmm....&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 18:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1017961#M32005</guid>
      <dc:creator>Todd</dc:creator>
      <dc:date>2021-01-19T18:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Note not displaying a custom url in web app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1018067#M32011</link>
      <description>&lt;P&gt;Here's the fix... and the '&amp;lt;br&amp;gt;' tags are working in Edge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Todd_0-1611084190981.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4094iEE1131B52407996C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Todd_0-1611084190981.png" alt="Todd_0-1611084190981.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="Todd_1-1611084253270.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4095iFDDDFEABD0F37850/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Todd_1-1611084253270.png" alt="Todd_1-1611084253270.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 19:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/note-not-displaying-a-custom-url-in-web-app/m-p/1018067#M32011</guid>
      <dc:creator>Todd</dc:creator>
      <dc:date>2021-01-19T19:25:45Z</dc:date>
    </item>
  </channel>
</rss>

