<?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 Changing default popup template appearance and location in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1379555#M10748</link>
    <description>&lt;P&gt;I am working with ArcGIS Developer to modify the position and content of the popup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to change the default template into something custom? Since I'd rather change this internally from the code than changing the popup Arcade code for every layer I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question is whether I could dock the popup to a section or something like that. The 'bottom-left' and other options would not satisfy this since I need it to be in a specific location within the portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To solve these, would it instead be possible to intercept the popup click, read which layers and open a custom version instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found the following popup code within the widget arcgis-map/runtime/components/mapbase.tsx:&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;LI-CODE lang="javascript"&gt;    mapViewOption.popup = {
      defaultPopupTemplateEnabled: true,

      // Not changing since overwritten by popupTemplate ?
      title: "Results title",
      content: 'test',

      // ADDED
      // dockOptions: {
      //   position: 'bottom-left',
      // }
    }&lt;/LI-CODE&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>Thu, 08 Feb 2024 08:38:37 GMT</pubDate>
    <dc:creator>JonathanAttard</dc:creator>
    <dc:date>2024-02-08T08:38:37Z</dc:date>
    <item>
      <title>Changing default popup template appearance and location</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1379555#M10748</link>
      <description>&lt;P&gt;I am working with ArcGIS Developer to modify the position and content of the popup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to change the default template into something custom? Since I'd rather change this internally from the code than changing the popup Arcade code for every layer I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question is whether I could dock the popup to a section or something like that. The 'bottom-left' and other options would not satisfy this since I need it to be in a specific location within the portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To solve these, would it instead be possible to intercept the popup click, read which layers and open a custom version instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found the following popup code within the widget arcgis-map/runtime/components/mapbase.tsx:&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;LI-CODE lang="javascript"&gt;    mapViewOption.popup = {
      defaultPopupTemplateEnabled: true,

      // Not changing since overwritten by popupTemplate ?
      title: "Results title",
      content: 'test',

      // ADDED
      // dockOptions: {
      //   position: 'bottom-left',
      // }
    }&lt;/LI-CODE&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>Thu, 08 Feb 2024 08:38:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1379555#M10748</guid>
      <dc:creator>JonathanAttard</dc:creator>
      <dc:date>2024-02-08T08:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing default popup template appearance and location</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1380929#M10809</link>
      <description>&lt;P&gt;The best is to edit a smart popup in your web-map itself.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in Portal, select and edit your web map &amp;gt; open in Map Viewer&lt;/LI&gt;&lt;LI&gt;select one layer&lt;/LI&gt;&lt;LI&gt;in properties &amp;gt; edit POPUP&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Add a text content&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FredericPoliart_EsriAU_0-1707726527752.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94448iB04B6C444FDDF8F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FredericPoliart_EsriAU_0-1707726527752.png" alt="FredericPoliart_EsriAU_0-1707726527752.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Edit , use hyperlinks, or even image &amp;lt;img&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Click that "source" button and save it in plain text (good old notepad)&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FredericPoliart_EsriAU_1-1707726609319.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94449i5DA56C043F0E6E9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FredericPoliart_EsriAU_1-1707726609319.png" alt="FredericPoliart_EsriAU_1-1707726609319.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Save your web-map&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Back in Experience Builder,&amp;nbsp; add a "&lt;STRONG&gt;Feature Info&lt;/STRONG&gt;" widget and place it (say) in a side panel&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Select your layer and tick "respect the source" (meaning 'use the popup as designed in my webmap ')&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FredericPoliart_EsriAU_2-1707726853138.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94450i42213D39B36B6741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FredericPoliart_EsriAU_2-1707726853138.png" alt="FredericPoliart_EsriAU_2-1707726853138.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Select your webmap widget in ExB, and scroll all the way down in the parameters&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FredericPoliart_EsriAU_3-1707726974773.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94451iAA03C7898DC6B8BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FredericPoliart_EsriAU_3-1707726974773.png" alt="FredericPoliart_EsriAU_3-1707726974773.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;turn OFF the "enable popup" - i know - it's counter intuitive but it tells ExB to NOT display the floating popup on the map.&amp;nbsp; BUT it will send the selection to your Feature Info widget.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Try with the simplest web map and simplest ExB test project , first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 08:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1380929#M10809</guid>
      <dc:creator>FredericPoliart_EsriAU</dc:creator>
      <dc:date>2024-02-12T08:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing default popup template appearance and location</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1586284#M17424</link>
      <description>&lt;P&gt;Thank you for this Frederic.&amp;nbsp; I have tried this, nearly successfully.&lt;/P&gt;&lt;P&gt;However when I first open the Experience, the Feature Info box&amp;nbsp; that I have now created to replace the popup, starts by showing the first of all the records in the entire table as a default view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaulLandman_0-1739878077529.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125629i3BD1A75ACEE780EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaulLandman_0-1739878077529.png" alt="PaulLandman_0-1739878077529.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select an individual record it does correctly display the pop up for that address, but I need it to be blank before any records are selected.&lt;/P&gt;&lt;P&gt;Have I missed a simple setting somewhere?&lt;/P&gt;&lt;P&gt;I am using Experience Builder on AGOL.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 11:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/changing-default-popup-template-appearance-and/m-p/1586284#M17424</guid>
      <dc:creator>PaulLandman</dc:creator>
      <dc:date>2025-02-18T11:29:41Z</dc:date>
    </item>
  </channel>
</rss>

