<?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: Where to find Data Source ID for URL Parameter in Experience Builder? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389354#M11206</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;, thank you for the prompt response.&amp;nbsp;&lt;BR /&gt;I want to write a custom code for this URL, I am looking for a way&amp;nbsp; to find this "&lt;SPAN&gt;dataSource_2-2"?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, we can see item id for a web map from item detail's page, app id from item detail's page...similarily, where to find this &amp;lt;dsID&amp;gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2024 09:28:52 GMT</pubDate>
    <dc:creator>GeeteshSingh07</dc:creator>
    <dc:date>2024-03-01T09:28:52Z</dc:date>
    <item>
      <title>Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389337#M11202</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;In the following document, it is mentioned that &amp;lt;dsID&amp;gt; is Data Source ID:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/experience-builder/11.1/build-apps/url-parameters.htm#:~:text=Each%20data%20source%20in%20an%20app%20has%20its%20own%20data%20source%20ID" target="_blank"&gt;https://doc.arcgis.com/en/experience-builder/11.1/build-apps/url-parameters.htm#:~:text=Each%20data%20source%20in%20an%20app%20has%20its%20own%20data%20source%20ID&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We are referring this sample URL from the above document:&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://experience.arcgis.com/experience/" target="_blank"&gt;https://experience.arcgis.com/experience/&lt;/A&gt;&amp;lt;AppId&amp;gt;/?data_id=&amp;lt;&lt;FONT color="#FF0000"&gt;dsID&amp;gt;&lt;/FONT&gt;:&amp;lt;selectedrecordID&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How &amp;amp; where to find this data source ID in experience Builder if we want to create a custom URL with parameters?&lt;BR /&gt;&lt;BR /&gt;This datasource id looks like combination of "WebMap" item id &amp;amp; something else. How can I find entire data source ID?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any help on this will really be appreciated.&lt;/P&gt;&lt;P&gt;Best, Geetesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 08:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389337#M11202</guid>
      <dc:creator>GeeteshSingh07</dc:creator>
      <dc:date>2024-03-01T08:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389351#M11204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/721900"&gt;@GeeteshSingh07&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;dsID&amp;gt; can be found when you make a selection in the app at run time. Say you have an app that has a table in it. When you select a row in the table, you will be able to see the &lt;STRONG&gt;?data_id=&lt;FONT color="#000000"&gt;&amp;lt;dsID&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;:&amp;lt;selectedrecordID&amp;gt;&lt;/STRONG&gt; appearing in your URL:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-01 at 17.09.47.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96436iA98166C78066CA76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-03-01 at 17.09.47.png" alt="Screenshot 2024-03-01 at 17.09.47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the example above, 'dataSource_2-2' is the data source ID, '%3A' is the encoded value of the colon, and '2 ' is the objectID of the selected record.&lt;/P&gt;&lt;P&gt;Any selections you make in the app will lead to adding the data_id in the URL - it does not have to be a selection in the table. However please note that URL parameters are added in preview and run time, but not in the builder.&lt;/P&gt;&lt;P&gt;Please let me know if you have any further questions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 09:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389351#M11204</guid>
      <dc:creator>Shen_Zhang</dc:creator>
      <dc:date>2024-03-01T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389354#M11206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;, thank you for the prompt response.&amp;nbsp;&lt;BR /&gt;I want to write a custom code for this URL, I am looking for a way&amp;nbsp; to find this "&lt;SPAN&gt;dataSource_2-2"?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, we can see item id for a web map from item detail's page, app id from item detail's page...similarily, where to find this &amp;lt;dsID&amp;gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 09:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389354#M11206</guid>
      <dc:creator>GeeteshSingh07</dc:creator>
      <dc:date>2024-03-01T09:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389361#M11207</link>
      <description>&lt;P&gt;To explain more about the use case&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;, I am creating a custom widget in Experience Builder which incorporates the functionality from "Share" Widget from Web AppBuilder. Web AppBuilder Share Widget allows users to create dynamic URLs based on the parameters&amp;nbsp; listed in screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeeteshSingh07_0-1709285841342.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96440i861553D492CBF644/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeeteshSingh07_0-1709285841342.png" alt="GeeteshSingh07_0-1709285841342.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, we are not sure that where is this &amp;lt;dsID&amp;gt; stored so we can add it to our code that can be used to generate dynamic URL?&lt;/P&gt;&lt;P&gt;If we have to use itemID of web map, we know it's available in item details page. But where is &amp;lt;dsID&amp;gt; saved?&lt;/P&gt;&lt;P&gt;I hope this gives the idea for this requirement.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 09:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1389361#M11207</guid>
      <dc:creator>GeeteshSingh07</dc:creator>
      <dc:date>2024-03-01T09:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1390164#M11253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/721900"&gt;@GeeteshSingh07&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To get the data source ID, you can use the DataSourceManager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { DataSourceManager } from 'jimu-core'

// Return IDs of the main data sources that are used by widgets.
function getAllDataSourceIds () {
    return DataSourceManager.getInstance().getDataSourcesAsArray().filter(ds =&amp;gt; ds.getMainDataSource().id === ds.id).map(ds =&amp;gt; ds.id)
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?data_id is&amp;nbsp;currently still supported but will soon be deprecated. To select records by URL, use #data_s.&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 07:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1390164#M11253</guid>
      <dc:creator>YueyangLi</dc:creator>
      <dc:date>2024-03-04T07:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1390315#M11277</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431841"&gt;@YueyangLi&lt;/a&gt;. I will try this out.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1390315#M11277</guid>
      <dc:creator>GeeteshSingh07</dc:creator>
      <dc:date>2024-03-04T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1573253#M16807</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431841"&gt;@YueyangLi&lt;/a&gt;&amp;nbsp; the link options in the WAB share widget were very useful. Not sure why this was left out of Experience Builder.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 17:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1573253#M16807</guid>
      <dc:creator>BrettMartin1</dc:creator>
      <dc:date>2025-01-07T17:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1573534#M16823</link>
      <description>&lt;P&gt;I was able to figure out how to query a layer by attribute and zoom to the feature in another web app by passing the parcel number (PIN_PLUS).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://experience.arcgis.com/experience/6c5f5491aa4446c9a9dc8180d0329dd1#data_s=where:dataSource_11-ParcelsPlus_609:PIN_PLUS='{PIN_PLUS}'&amp;amp;zoom_to_selection=true" target="_blank"&gt;https://experience.arcgis.com/experience/6c5f5491aa4446c9a9dc8180d0329dd1#data_s=where:dataSource_11-ParcelsPlus_609:PIN_PLUS='{PIN_PLUS}'&amp;amp;zoom_to_selection=true&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 15:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1573534#M16823</guid>
      <dc:creator>BrettMartin1</dc:creator>
      <dc:date>2025-01-08T15:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find Data Source ID for URL Parameter in Experience Builder?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1595257#M17926</link>
      <description>&lt;P&gt;Using Experience Builder Developer Edition and thankfully, the URL with Parameters appears to function the same:&lt;/P&gt;&lt;P&gt;&lt;A href="https://YourOrg.com/AppName/#data_s=where:dataSource_1-Parcels_414-0:PIN={PIN}&amp;amp;zoom_to_selection=true" target="_blank"&gt;https://YourOrg.com/AppName/#data_s=where:dataSource_1-Parcels_414-0:PIN={PIN}&amp;amp;zoom_to_selection=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What helped me was&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/124250"&gt;@BrettMartin1&lt;/a&gt; example including the "Where" in the URL.&amp;nbsp; That did the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Dan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 16:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/where-to-find-data-source-id-for-url-parameter-in/m-p/1595257#M17926</guid>
      <dc:creator>DanielRoot</dc:creator>
      <dc:date>2025-03-13T16:48:43Z</dc:date>
    </item>
  </channel>
</rss>

