<?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: Using HTML and Arcade Expressions in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280302#M51547</link>
    <description>&lt;P&gt;Do you mean one state could have many URLs? Or you just have many states, each with an individual URL? My example above answers the second question, showing how Alaska has a separate URL.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 17:26:33 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2023-04-19T17:26:33Z</dc:date>
    <item>
      <title>Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1279975#M51524</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;Trying to use the HTML Source window within the Text popup to add a bunch of "href" URLs.&lt;/P&gt;&lt;P&gt;not exactly sure where to add my Arcade 'expression' within the HTML?&amp;nbsp; the URLs are NOT within the attribute table,&amp;nbsp; but I can query out which Features can be given those URLs(hardcoded).&lt;/P&gt;&lt;P&gt;Im just hoping to get a list of Text in the popup that individually have an href URL associated to them.&lt;/P&gt;&lt;P&gt;I have something as simple as this to subset the selected Features-&lt;/P&gt;&lt;P&gt;if($feature.STATE == "Alabama") {&lt;BR /&gt;return something something&lt;/P&gt;&lt;P&gt;and a hardcoded HTML test like this,&amp;nbsp; that works-&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;Geoheritage Examples:&amp;amp;nbsp;&amp;lt;/strong&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;BR /&gt;&amp;lt;br&amp;gt;&lt;BR /&gt;&amp;lt;a target="_blank" rel="noopener noreferrer" href="&lt;A href="https://www.gsa.state.al.us/gsa/geologic/opportunities/" target="_blank" rel="noopener"&gt;https://www.gsa.state.al.us/gsa/geologic/opportunities/&lt;/A&gt;"&amp;gt;Educational information&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;..but I need to&amp;nbsp; use an expression statement somewhere in that HTML for the popup to work correctly and popup the correct URLs..&amp;nbsp; yes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Apr 2023 23:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1279975#M51524</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-18T23:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1279982#M51525</link>
      <description>&lt;P&gt;Can you post screenshot(s) of what you have thus far? Some visual context to the problem would help.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 23:45:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1279982#M51525</guid>
      <dc:creator>lzk222</dc:creator>
      <dc:date>2023-04-18T23:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280017#M51528</link>
      <description>&lt;P&gt;You can use a &lt;A href="https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#dictionary" target="_self"&gt;Dictionary&lt;/A&gt; to assign URLs for each state, then use that dictionary in your HTML:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var dict = Dictionary('Alabama', 'https://www.gsa.state.al.us/gsa/geologic/opportunities',
                      'Alaska', 'https://www.google.com');//add in URLs for all other states in this format

var output = `&amp;lt;p&amp;gt;
&amp;lt;strong&amp;gt;Geoheritage Examples:&amp;amp;nbsp;&amp;lt;/strong&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;
&amp;lt;br&amp;gt;
&amp;lt;a target="_blank" rel="noopener noreferrer" href=${dict[$feature.STATE]}&amp;gt;Educational information&amp;lt;/a&amp;gt;
&amp;lt;/p&amp;gt;`

return { 
	type : 'text', 
	text : output //this property supports html tags 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 01:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280017#M51528</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-04-19T01:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280246#M51544</link>
      <description>&lt;P&gt;Thanks everyone.&amp;nbsp; &amp;nbsp; here is a screenshot of what im building.&amp;nbsp; I want each State to popup with active text links like these (ex. 'General Interest' 'Education and Outreach').&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;the 'Geoheritage Examples:' is now showing the Attributes(separated by piping).&amp;nbsp; but I want that unique Attribute list to show as stacked active links as it now shows at the top.&amp;nbsp; altho at the moment, these URLs are just hardcoded into the HTML as you can see in the edit window on the right.&amp;nbsp; &amp;nbsp;I will need some level of Expression code and an HTML mix im assuming.&lt;/P&gt;&lt;P&gt;Thanks for all the support!&lt;/P&gt;&lt;P&gt;p&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:39:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280246#M51544</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-19T15:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280250#M51545</link>
      <description>&lt;P&gt;Hmm,&amp;nbsp; i've never used 'Dictionary'.&amp;nbsp; &amp;nbsp;that looks interesting!&amp;nbsp; &amp;nbsp;thanks for the idea,&amp;nbsp; ill take a look!&lt;/P&gt;&lt;P&gt;there are several States with several URL links,&amp;nbsp; &amp;nbsp;do you think it's still possible to create that Dictionary list with those multiple values?&amp;nbsp; &amp;nbsp;and still get the popup output im looking for?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280250#M51545</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-19T15:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280302#M51547</link>
      <description>&lt;P&gt;Do you mean one state could have many URLs? Or you just have many states, each with an individual URL? My example above answers the second question, showing how Alaska has a separate URL.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 17:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280302#M51547</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-04-19T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280316#M51549</link>
      <description>&lt;P&gt;Some states have several URLs.&amp;nbsp; &amp;nbsp;some states have only one.&lt;/P&gt;&lt;P&gt;the number of URLs depends on the number of 'Geoheritage examples'.&amp;nbsp; &amp;nbsp; the example im showing in the image i included shows Oklahoma,&amp;nbsp; which has 2(General Interest, Education and Outreach), each with it's own URL.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 17:58:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280316#M51549</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-19T17:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280324#M51551</link>
      <description>&lt;P&gt;Could this just be coded somehow within the Arcade Expression?&amp;nbsp; is there a tag to add to the URL and to its TEXT variable that could be used?&amp;nbsp; I don't want to show the full URL address,&amp;nbsp; just use the TEXT(Geoheritage theme) as the hyperlink to the URL?&lt;/P&gt;&lt;P&gt;something like this,&amp;nbsp; but without full URL paths showing in the popup, just hyperlink on the TEXT..&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&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;STATE&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;"Alaska"&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"&lt;A href="https://dggs.alaska.gov/popular-geology/kids/index.html" target="_blank" rel="noopener"&gt;https://dggs.alaska.gov/popular-geology/kids/blah.html&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN&gt;TextFormatting&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;NewLine&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"&lt;A href="https://dggs.alaska.gov/outreach/education.html" target="_blank" rel="noopener"&gt;https://dggs.alaska.gov/outreach/blah.html&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;TextFormatting&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;NewLine&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"&lt;A href="https://dggs.alaska.gov/popular-geology/roadside-geology.html" target="_blank" rel="noopener"&gt;https://dggs.alaska.gov/popular-geology/blah.html&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can i add HTML within the Expression? I would love to add those "href" HTML statements in the "If" Arcade statements...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Apr 2023 18:20:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280324#M51551</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-19T18:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280474#M51563</link>
      <description>&lt;P&gt;Here's one way to use a dictionary to build a list of links&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var dict = {
    'Alabama': {
        'Google': 'https://google.com',  //the format is 'link text': 'url'
        'Esri': 'https://www.esri.com'
    },
    'Alaska': {
        'Esri Community': 'https://community.esri.com/'
    }
    //entire list of states and their links
}
var links = dict[$feature.STATE];
var output;
for (var link in links) {
    output += `&amp;lt;a href=${links[link]}&amp;gt;${link}&amp;lt;/a&amp;gt;&amp;lt;/br&amp;gt;`;
}
return { 
	type : 'text', 
	text : output //this property supports html tags 
}&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Apr 2023 20:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1280474#M51563</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-04-19T20:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281509#M51656</link>
      <description>&lt;P&gt;One thing I'm noticing is that you're working in the Text section for adding content to Pop-Ups. You might be better off using the Arcade section (circled in green below) for setting the logic and formatting the html.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a lot of links/states then a dictionary is probably the easiest way to go about it. If you want to hardcode the state weblinks one by one then this example might work for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//More Info Link

var awardeename = $feature.Awardee
var awardee_link =
 WHEN(
  $feature.Awardee == 'Elko County','https://broadbandusa.ntia.doc.gov/broadband-infrastructure-program-awardees#CountyOfElko',
  $feature.Awardee == 'Inter-Tribal Council of Nevada','https://ntia.gov/press-release/2022/biden-harris-administration-awards-189-million-internet-all-grant-expand-high',
  $feature.Awardee == 'Duckwater Shoshone Tribe','https://ntia.gov/press-release/2022/biden-harris-administration-announces-more-73-million-high-speed-internet-grants',
  $feature.Awardee == 'Walker River Paiute Tribe','https://ntia.gov/press-release/2022/biden-harris-administration-announces-more-73-million-high-speed-internet-grants',
  $feature.Awardee == 'Fallon Shoshone Tribe','https://ntia.gov/press-release/2022/biden-harris-administration-announces-more-73-million-high-speed-internet-grants',
  $feature.Awardee == 'Ely Shoshone Tribe','https://broadbandusa.ntia.doc.gov/news/latest-news/biden-harris-administration-announces-more-224-million-high-speed-internet-grants',
  $feature.Awardee == 'Uprise Fiber - Pershing County','https://www.rd.usda.gov/sites/default/files/07.28.2022-ReConnect-Round-3-and-Telecomm-Awards-Chart-OEA-FINAL.pdf',
  $feature.Awardee == 'Beehive Broadband - Elko County','https://www.rd.usda.gov/newsroom/news-release/usda-invests-23-million-broadband-rural-eastern-nevada-0',
  $feature.Awardee == 'College of Southern Nevada','https://www.internetforall.gov/news-media/biden-harris-administration-announces-more-175-million-internet-all-grants-61-minority',
'https://osit.nv.gov/Broadband/Awards/'
)

When($feature.Awardee == 'Elko County','https://broadbandusa.ntia.doc.gov/broadband-infrastructure-program-awardees#CountyOfElko','')
return { 
	type : 'text', 
	text : `&amp;lt;p&amp;gt;For more information see ${awardeename} award announcement &amp;lt;a href="${awardee_link}" target="_blank"&amp;gt;website&amp;lt;/a&amp;gt;.&amp;lt;/p&amp;gt;` //this property supports html tags 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lzk222_0-1682114817122.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68768i5849482FDEA0BE88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lzk222_0-1682114817122.png" alt="lzk222_0-1682114817122.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="lzk222_2-1682115702360.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68770iB84E7A2A073CC831/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lzk222_2-1682115702360.png" alt="lzk222_2-1682115702360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the map for context:&amp;nbsp;&lt;A href="https://experience.arcgis.com/experience/dcc4af391f864b2c980de3473bf3e069" target="_blank" rel="noopener"&gt;https://experience.arcgis.com/experience/dcc4af391f864b2c980de3473bf3e069?data_id=dataSource_1-187493e96b6-layer-28%3A17&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 23:30:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281509#M51656</guid>
      <dc:creator>lzk222</dc:creator>
      <dc:date>2023-04-21T23:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281523#M51659</link>
      <description>&lt;P&gt;Yep!&amp;nbsp; &amp;nbsp;I never really understood the real difference between the 'Arcade' window and the 'Text HTML' window?&amp;nbsp; or when to use which?&amp;nbsp; &amp;nbsp;I just started testing within the Text HTML window..&lt;/P&gt;&lt;P&gt;thanks!&amp;nbsp; this is a great example.&amp;nbsp; still unsure how to Return 'several' URL hyperlinks in the popup tho?&amp;nbsp; at this point with the logic I added I am now able to Return ONE of the links in the list.&amp;nbsp; but unsure how to add a stacked list of those returned hyperlinks..?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&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;STATE&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;"Alabama"&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;amp;&amp;amp;(&lt;/SPAN&gt;&lt;SPAN&gt;Find&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Educational information'&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;Description&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)) &amp;gt; -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Educational information"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thx!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Apr 2023 22:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281523#M51659</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-21T22:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281530#M51661</link>
      <description>&lt;P&gt;Also, I found the&amp;nbsp;Create Arcade content blocks section of this documentation helpful.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/pop-ups-arcade-essentials/#:~:text=Arcade%20in%20pop%2Dups%20can,ups%20to%20the%20next%20level" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/pop-ups-arcade-essentials/#:~:text=Arcade%20in%20pop%2Dups%20can,ups%20to%20the%20next%20level&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 23:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281530#M51661</guid>
      <dc:creator>lzk222</dc:creator>
      <dc:date>2023-04-21T23:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281533#M51662</link>
      <description>&lt;P&gt;You could set different variables for the conditions for which the different links should appear and then display them as a new line &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt; in the Arcade block.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sticking with the same example I showed earlier, it could look something like this (note that I have a single link hardcoded in the second line, but you could set it up as a var to suit your needs).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lzk222_0-1682120117655.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68773iBDB2884D818C00B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lzk222_0-1682120117655.png" alt="lzk222_0-1682120117655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 23:37:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281533#M51662</guid>
      <dc:creator>lzk222</dc:creator>
      <dc:date>2023-04-21T23:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281699#M51672</link>
      <description>&lt;P&gt;Well,&amp;nbsp; I have to say thankyou!&amp;nbsp; a very 'simple' syntax that I noticed in your example scripts that I truly didn't know about? the Backtick.&amp;nbsp; how ive never known about this is beyond me.&amp;nbsp; but I kept getting errors using the standard single quote around my HTML.&amp;nbsp; i noticed your tics looked different,&amp;nbsp; i tried them, and no more errors!&amp;nbsp;&amp;nbsp; " ` "&amp;nbsp; &amp;nbsp;vs&amp;nbsp; " ' "&lt;/P&gt;&lt;P&gt;so,&amp;nbsp; here are a few example lines from my code(in the Arcade window) using those backticks.&amp;nbsp; I was also able to remove all the related expressions,&amp;nbsp; this is the simple code I was hoping to use,&amp;nbsp; but wasn't using the correct "ticks".&amp;nbsp; yikes.&amp;nbsp; &amp;nbsp; Thanks again!&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/602846"&gt;@lzk222&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*p.s.&amp;nbsp; also using Break&amp;lt;br&amp;gt; instead of Paragraph&amp;lt;p&amp;gt;&lt;/P&gt;&lt;P&gt;* see screenshot output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&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;STATE&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;"Alabama"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;'text'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;text&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;`&amp;lt;a href="&lt;A href="https://www.gsa.state.al.us/gsa/geologic/opportunities/" target="_blank" rel="noopener"&gt;https://www.gsa.state.al.us/gsa/geologic/opportunities/&lt;/A&gt;"&amp;gt; Educational information&amp;lt;/a&amp;gt;`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;if&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;STATE&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;"Alaska"&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;'text'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;text&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;`&amp;lt;a href="&lt;A href="https://dggs.alaska.gov/popular-geology/kids/index.html" target="_blank" rel="noopener"&gt;https://dggs.alaska.gov/popular-geology/kids/index.html&lt;/A&gt;"&amp;gt; Kids Rock!&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="&lt;A href="https://dggs.alaska.gov/outreach/education.html" target="_blank" rel="noopener"&gt;https://dggs.alaska.gov/outreach/education.html&lt;/A&gt;"&amp;gt;Education Outreach&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="&lt;A href="https://dggs.alaska.gov/popular-geology/roadside-geology.html" target="_blank" rel="noopener"&gt;https://dggs.alaska.gov/popular-geology/roadside-geology.html&lt;/A&gt;"&amp;gt;Roadside Geology&amp;lt;/a&amp;gt;`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Apr 2023 15:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1281699#M51672</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-04-23T15:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1282011#M51688</link>
      <description>&lt;P&gt;Great! Looking good. Glad this was helpful. Yes, the backtick is a small thing I should have mentioned. It threw me off as well.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 18:48:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1282011#M51688</guid>
      <dc:creator>lzk222</dc:creator>
      <dc:date>2023-04-24T18:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using HTML and Arcade Expressions</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1318640#M53916</link>
      <description>&lt;P&gt;Hi, I was following this thread and wondering about how do you use/pass the arcade expression value into HTML? I tried to use {expression/expr0}, I got both text and type fields. How do I get ONLY text field?&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 12:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-html-and-arcade-expressions/m-p/1318640#M53916</guid>
      <dc:creator>loum</dc:creator>
      <dc:date>2023-08-15T12:35:43Z</dc:date>
    </item>
  </channel>
</rss>

