<?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: Show all features from one layerin a single spot in pop up in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691978#M68267</link>
    <description>&lt;P&gt;There are several ways to do that. You can use&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm" target="_self"&gt;html tags&lt;/A&gt; in the string. You can also use &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/spruce-up-your-pop-ups-with-css" target="_self"&gt;css&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;`• &amp;lt;font size="3"&amp;gt;${nm}   &amp;lt;a href =${link}&amp;gt;${name}&amp;lt;/a&amp;gt;  ${yr}&amp;lt;/font&amp;gt;`&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 23 Mar 2026 16:24:38 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2026-03-23T16:24:38Z</dc:date>
    <item>
      <title>Show all features from one layerin a single spot in pop up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691943#M68261</link>
      <description>&lt;P&gt;I saw some previous posts of people trying to do this and I figured out a way. You must be in a version of portal that has $userInput available.&lt;/P&gt;&lt;P&gt;I wanted to show a list of all features from a single layer in a single spot when you click on that spot. I have a layer of utilities engineering As Builts that overlap, three or four can cover a single intersection and I want users to have the choice to open any one of them when they click on an intersection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know users can "scroll" through features on a pop up but i wanted them all on a single pop up.&lt;/P&gt;&lt;P&gt;One of my fields is a URL field and this turns a field name into a hyperlinked URL&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would like help making the display either a table or bullet points.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;they currently come through like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Name 1975 Name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;2003 Name&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1982&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, "AsBuilt_Name" doesn't pull through&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;EDIT: Html "&amp;lt;br/&amp;gt;" breaks it into a new line, still could use some customization&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;var AB = FeatureSetByName($map, 'As Built Polygons')

var ABpoly = Intersects(AB, $userInput)

// uses the intersect of the click//

var result = ' '

for (var poly in ABpoly){
  var link = poly.AsBuilt_Link
  var name = poly.Laser_fiche_name
  var yr = poly.year
  var nm = poly.AsBuilt_Name

  result +=  nm + "   &amp;lt;a href =" + link + "&amp;gt;" + name +  "&amp;lt;/a&amp;gt;" +"  " + yr +  TextFormatting.NewLine
}

//pulls the fields from the layer and builds a url using the field name//

return {
  type: 'text', 
  text : result
  } &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 14:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691943#M68261</guid>
      <dc:creator>Norquest</dc:creator>
      <dc:date>2026-03-23T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show all features from one layerin a single spot in pop up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691958#M68262</link>
      <description>&lt;P&gt;Here's a way to create a bulleted list.&lt;/P&gt;&lt;P&gt;In each loop, the string is&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/array_functions/#push" target="_self"&gt;pushed&lt;/A&gt; into the result array. The string also use a &lt;A href="https://developers.arcgis.com/arcade/guide/template-literals/" target="_self"&gt;template literal&lt;/A&gt;. The &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#concatenate" target="_self"&gt;Concatenate&lt;/A&gt; function creates a string from that array, separating the array items by a &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/br" target="_self"&gt;line break&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;As for the&amp;nbsp;AsBuilt_Name not coming through, have you checked using a console in your loop whether there's an attribute in that field?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var AB = FeatureSetByName($map, 'As Built Polygons')

var ABpoly = Intersects(AB, $userInput)

// uses the intersect of the click//

var result = []

for (var poly in ABpoly){
  var link = poly.AsBuilt_Link
  var name = poly.Laser_fiche_name
  var yr = poly.year
  var nm = poly.AsBuilt_Name
  console(nm)
  Push(result, `• ${nm}   &amp;lt;a href =${link}&amp;gt;${name}&amp;lt;/a&amp;gt;  ${yr}`)
}

//pulls the fields from the layer and builds a url using the field name//

return {
  type: 'text', 
  text : Concatenate(result, '&amp;lt;br&amp;gt;')
  } &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 15:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691958#M68262</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2026-03-23T15:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Show all features from one layerin a single spot in pop up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691968#M68265</link>
      <description>&lt;P&gt;Thanks for the quick response! This added the bullet points with an indent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "AsBuilt_Name" field is empty in some cases and that was the issue.&lt;/P&gt;&lt;P&gt;and idea how to make the font bigger on these rows?&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 15:53:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691968#M68265</guid>
      <dc:creator>Norquest</dc:creator>
      <dc:date>2026-03-23T15:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show all features from one layerin a single spot in pop up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691978#M68267</link>
      <description>&lt;P&gt;There are several ways to do that. You can use&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm" target="_self"&gt;html tags&lt;/A&gt; in the string. You can also use &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/spruce-up-your-pop-ups-with-css" target="_self"&gt;css&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;`• &amp;lt;font size="3"&amp;gt;${nm}   &amp;lt;a href =${link}&amp;gt;${name}&amp;lt;/a&amp;gt;  ${yr}&amp;lt;/font&amp;gt;`&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Mar 2026 16:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-all-features-from-one-layerin-a-single-spot/m-p/1691978#M68267</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2026-03-23T16:24:38Z</dc:date>
    </item>
  </channel>
</rss>

