<?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: Is it possible to use two different datasources in the same custom widget with DataSourceSelector? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1089293#M2605</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not sure if this is what you're asking, but the &lt;STRONG&gt;DataSourceSelector&lt;/STRONG&gt; component has a &lt;STRONG&gt;isMultiple&lt;/STRONG&gt; prop that, when set to &lt;STRONG&gt;true&lt;/STRONG&gt;, will allow the user to configure multiple data sources.&amp;nbsp; There's no way you are expected to know this since the DataSourceSelector component is not documented anywhere.&amp;nbsp; I discovered this after ~3 days of hacking through work-arounds.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 14:41:20 GMT</pubDate>
    <dc:creator>ToddJacobus</dc:creator>
    <dc:date>2021-08-16T14:41:20Z</dc:date>
    <item>
      <title>Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1064569#M2042</link>
      <description>&lt;P&gt;Trying to add another datasource using&amp;nbsp;DataSourceSelector in settings.tsx only change synchronized with the other one, as they both user&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;useDataSources={this.props.useDataSources}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I make it happen?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 12:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1064569#M2042</guid>
      <dc:creator>PärÅman</dc:creator>
      <dc:date>2021-06-03T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1089293#M2605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not sure if this is what you're asking, but the &lt;STRONG&gt;DataSourceSelector&lt;/STRONG&gt; component has a &lt;STRONG&gt;isMultiple&lt;/STRONG&gt; prop that, when set to &lt;STRONG&gt;true&lt;/STRONG&gt;, will allow the user to configure multiple data sources.&amp;nbsp; There's no way you are expected to know this since the DataSourceSelector component is not documented anywhere.&amp;nbsp; I discovered this after ~3 days of hacking through work-arounds.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 14:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1089293#M2605</guid>
      <dc:creator>ToddJacobus</dc:creator>
      <dc:date>2021-08-16T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1092068#M2651</link>
      <description>&lt;P&gt;Thanks, that's really great.&amp;nbsp; How in the world did you find that given that the documentation links are broken?&lt;/P&gt;&lt;P&gt;It seems like I have to use a separate DataSourceComponent for each DataSource configured in the settings page - is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 01:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1092068#M2651</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-25T01:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1092184#M2652</link>
      <description>&lt;P&gt;Hah, I finally found someone's implementation of the component where they pass in a isMultiple prop, in code published on Stack Overflow.&amp;nbsp; I don't have the link handy, though, sorry.&amp;nbsp; But, you can also see ESRI's own implementation of it in the Experience Builder source code.&amp;nbsp; For example, in ...\client\dist\widgets\common\text\src\setting\setting.tsx.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, yes, I'm mapping over&amp;nbsp;&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 and passing each "useDataSource" to a DataSourceComponent.&amp;nbsp; This works for me, since I'm summarizing data from each data source, so I use the callback function to pass actual DataSource objects to a summary table.&amp;nbsp; I'm not sure if this is "correct", but it seems to work.&amp;nbsp; Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 13:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1092184#M2652</guid>
      <dc:creator>ToddJacobus</dc:creator>
      <dc:date>2021-08-25T13:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1092619#M2671</link>
      <description>&lt;P&gt;Yes it helped. And yes, I find the documentation being somewhat sparse, and in need for another go-around in the Google index carousel.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 08:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1092619#M2671</guid>
      <dc:creator>PärÅman</dc:creator>
      <dc:date>2021-08-26T08:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1287503#M6904</link>
      <description>&lt;P&gt;Were you able to utilize this to use more than 2 data sources? Right now it is only letting me select 2.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 23:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1287503#M6904</guid>
      <dc:creator>JamalWest2</dc:creator>
      <dc:date>2023-05-09T23:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use two different datasources in the same custom widget with DataSourceSelector?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1305956#M7528</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; would you be able to share any examples you have that show your usage of the isMultiple prop?&amp;nbsp; I have been working through how to use it, though it seems to not work for me.&amp;nbsp; I found this bit of documentation for it,&amp;nbsp;&lt;A href="https://developers.arcgis.com/experience-builder/storybook/?path=/story/components-jimu-ui-advanced-data-source-selector-datasourceselector--multiple-selection-no-default-selected-ds" target="_blank"&gt;https://developers.arcgis.com/experience-builder/storybook/?path=/story/components-jimu-ui-advanced-data-source-selector-datasourceselector--multiple-selection-no-default-selected-ds&lt;/A&gt;&amp;nbsp;, which shows it works.&amp;nbsp; Though I have tried putting the isMultiple into the List Widget itself and nothing happens.&amp;nbsp; Any recommendations?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 21:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/is-it-possible-to-use-two-different-datasources-in/m-p/1305956#M7528</guid>
      <dc:creator>Craig_Tobias</dc:creator>
      <dc:date>2023-07-05T21:28:18Z</dc:date>
    </item>
  </channel>
</rss>

