<?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: Add a weblink to a form based on a field in a feature service in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804120#M11554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try&lt;/P&gt;&lt;PRE&gt;concat('&amp;lt;a href="',${GMAPS_HYPERLNK},'"&amp;gt;Click here to open&amp;lt;/a&amp;gt;')&lt;/PRE&gt;&lt;P&gt;- text portions must be encapsulated with either single or double quotes (' or "). &amp;nbsp;When doing HTML, I tend to use ' for this as HTML uses quoted attributes extensively, which I use " for&lt;/P&gt;&lt;P&gt;- field values should be separated from text portions and is referenced by ${question}, per XLSforms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 00:58:53 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-08-14T00:58:53Z</dc:date>
    <item>
      <title>Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804113#M11547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a form that is driven by a feature service.&amp;nbsp; In the feature service I have a field that has a unique URL for each record.&amp;nbsp; &amp;nbsp;I have created a survey form using this feature-service&amp;nbsp;and would like to add the&amp;nbsp;unique url to the form as a web link.&amp;nbsp; &amp;nbsp;I can get the URL to show in the survey form with out adding any syntax label field but the URL it is not clickable?&amp;nbsp; &amp;nbsp; The form field is called GMAP_HYPERLINK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the form to present a weblink when I add this from example from the types tab .&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.esri.com" rel="nofollow" target="_blank"&gt;http://www.esri.com&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;Link to esri web site&amp;lt;/a&amp;gt;&amp;nbsp; &amp;nbsp;I get a link in the form that takes me to esri.com.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the syntax I tried to generate a link from the pre-calculated field GMAP_HYPERLINK.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;a href="{GMAP_HYPERLINK}"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;this is what I get in the form (See Attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure I am missing something in the syntax but I can't seem to figure it out.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 18:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804113#M11547</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-08-13T18:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804114#M11548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to check, but does the link text follow a full HTML tag pattern?&lt;/P&gt;&lt;PRE&gt;&amp;lt;a href="[link]"&amp;gt;Click here to open&amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;It currently looks like you only have the first part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 21:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804114#M11548</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-08-13T21:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804115#M11549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I believe the URL's saved in the feature service "GMAPS_HYPERLNK" field&amp;nbsp;are complete URLs.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example:&amp;nbsp;&lt;A class="link-titled" href="https://www.google.com/maps/place/34.135904575395,-118.175764118094" title="https://www.google.com/maps/place/34.135904575395,-118.175764118094"&gt;Google Maps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This URL can be pasted directly into a browser and it will take you to the location in Google Maps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point with the&amp;nbsp; &amp;lt;a href="[&lt;SPAN&gt;GMAP&lt;/SPAN&gt;&lt;SPAN&gt;S&lt;/SPAN&gt;&lt;SPAN&gt;_HYPERLNK&lt;/SPAN&gt;]"&amp;gt;Click here to open&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;This is what&amp;nbsp;I get in the form.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/418647_Survey link.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 23:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804115#M11549</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-08-13T23:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804116#M11550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance you can share the full value of the note in the XLSfile? &amp;nbsp;That would help debug. Alternatively, here's a sample that does work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 23:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804116#M11550</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-08-13T23:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804117#M11551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are asking for?&amp;nbsp; the entire .XLS file or just the row of the note?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 00:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804117#M11551</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-08-14T00:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804118#M11552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The row of the note should be sufficient, though the entire XLS file would definitely help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 00:08:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804118#M11552</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-08-14T00:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804119#M11553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the top of the form I have with the note&amp;nbsp;field.&amp;nbsp; &amp;nbsp; I reconfigured the syntax based on your sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 00:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804119#M11553</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-08-14T00:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804120#M11554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try&lt;/P&gt;&lt;PRE&gt;concat('&amp;lt;a href="',${GMAPS_HYPERLNK},'"&amp;gt;Click here to open&amp;lt;/a&amp;gt;')&lt;/PRE&gt;&lt;P&gt;- text portions must be encapsulated with either single or double quotes (' or "). &amp;nbsp;When doing HTML, I tend to use ' for this as HTML uses quoted attributes extensively, which I use " for&lt;/P&gt;&lt;P&gt;- field values should be separated from text portions and is referenced by ${question}, per XLSforms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 00:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804120#M11554</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-08-14T00:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add a weblink to a form based on a field in a feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804121#M11555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James That worked!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 00:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/add-a-weblink-to-a-form-based-on-a-field-in-a/m-p/804121#M11555</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-08-16T00:42:40Z</dc:date>
    </item>
  </channel>
</rss>

