<?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: Same widget with multiple datasource in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/same-widget-with-multiple-datasource/m-p/1466001#M12610</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You need to map the useDataSource in render.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 15:37:37 GMT</pubDate>
    <dc:creator>MohammedHilal_K</dc:creator>
    <dc:date>2024-05-14T15:37:37Z</dc:date>
    <item>
      <title>Same widget with multiple datasource</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/same-widget-with-multiple-datasource/m-p/1369753#M10292</link>
      <description>&lt;P&gt;I am trying to develop a widget to be used with multiple layers. For example I have a road layer, a building layer and a trees layer, the widget needs to upload files no matter what feature from what layer is selected.&lt;/P&gt;&lt;P&gt;On the setting.tsx I had set to true my isMultiple attribute for the DataSourceSelector. On my runtime widget.tsx I have my&amp;nbsp;&lt;SPAN&gt;DataSourceComponent set as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;useDataSource&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;{this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;props&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;useDataSources&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN&gt;}. This only works for the datasource at position 0. How can I&amp;nbsp; use the&amp;nbsp;&lt;SPAN&gt;DataSourceComponent for multiple datasource?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 19:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/same-widget-with-multiple-datasource/m-p/1369753#M10292</guid>
      <dc:creator>David_RonaldSuárez_Urresti</dc:creator>
      <dc:date>2024-01-12T19:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Same widget with multiple datasource</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/same-widget-with-multiple-datasource/m-p/1466001#M12610</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You need to map the useDataSource in render.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 15:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/same-widget-with-multiple-datasource/m-p/1466001#M12610</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-05-14T15:37:37Z</dc:date>
    </item>
  </channel>
</rss>

