<?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: Custom Widget Adds Layer But are not selectable on map in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631229#M19830</link>
    <description>&lt;P&gt;Hi Jeffrey, thank you so much! This repo has a lot of valuable examples. I realized that the issue was that while I was creating a data source, I was adding the layers to my map via: jmv.view.add(layer). When I added the layer via jmv.addLayerAndCreateJimuLayerView(layer, datasource), I was able to select and edit.&lt;/P&gt;&lt;P&gt;Thank you for providing your add/remove layer tool - I was only able to notice this after looking through your code.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 17:49:59 GMT</pubDate>
    <dc:creator>jsu</dc:creator>
    <dc:date>2025-07-08T17:49:59Z</dc:date>
    <item>
      <title>Custom Widget Adds Layer But are not selectable on map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631100#M19823</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very new to experience builder. I've created a custom widget that when the user presses a button, adds a layer hosted on my ArcGIS Online. However, after adding the layer, despite being able to see it displayed on the map, I am unable to select / edit it using the select / editor tools. Is there some specific property I need to enable when I add the layer to enable selection / editing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't add the layer in as a datasource on the map beforehand, since I plan on adding functionality to create and add custom layers based on user input.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 14:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631100#M19823</guid>
      <dc:creator>jsu</dc:creator>
      <dc:date>2025-07-08T14:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Widget Adds Layer But are not selectable on map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631112#M19824</link>
      <description>&lt;P&gt;In order to get a layer to work with many of the built-in Widgets including Select and Edit, the layer must be converted to a Experience Builder Datasource. Here is the official example:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/data-source-widgets/runtime-data-source-without-saving-to-config" target="_blank"&gt;https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/data-source-widgets/runtime-data-source-without-saving-to-config&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is a completed widget designed for adding layers as Datasources:&amp;nbsp;&lt;A href="https://community.esri.com/t5/experience-builder-custom-widgets/add-remove-layers-3-0-full-settings-panel-support/ta-p/1570992" target="_blank"&gt;https://community.esri.com/t5/experience-builder-custom-widgets/add-remove-layers-3-0-full-settings-panel-support/ta-p/1570992&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 14:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631112#M19824</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-07-08T14:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Widget Adds Layer But are not selectable on map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631229#M19830</link>
      <description>&lt;P&gt;Hi Jeffrey, thank you so much! This repo has a lot of valuable examples. I realized that the issue was that while I was creating a data source, I was adding the layers to my map via: jmv.view.add(layer). When I added the layer via jmv.addLayerAndCreateJimuLayerView(layer, datasource), I was able to select and edit.&lt;/P&gt;&lt;P&gt;Thank you for providing your add/remove layer tool - I was only able to notice this after looking through your code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 17:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-adds-layer-but-are-not-selectable-on/m-p/1631229#M19830</guid>
      <dc:creator>jsu</dc:creator>
      <dc:date>2025-07-08T17:49:59Z</dc:date>
    </item>
  </channel>
</rss>

