<?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: use the data_filter URL Parameter for data views in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1607466#M18545</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/766971"&gt;@Ke_Xu&lt;/a&gt;&amp;nbsp;for your inquiry.&lt;/P&gt;&lt;P&gt;My main issue is that:&lt;/P&gt;&lt;P&gt;data views that are defined for a layer within Experience Builder do not seem to support being controlled by url parameters.&lt;/P&gt;&lt;P&gt;Hence, the example I gave where:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The main layer (dataSource_1-18a09b4c123-layer-1) works with a url parameter, but&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The data_view (dataSource_1-18a09b4c123-layer-1-dataView_1) defined from the main layer is not able to be controlled with a url parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only reason I gave the example json of the dynamic text is because that is where ExpB seems to be grabbing the dataSourceId to be able to control the data_view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternatively, it appears that the url parameter cannot support data_views as the layer to pass into the data_filter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2025 23:53:14 GMT</pubDate>
    <dc:creator>AndresCastillo</dc:creator>
    <dc:date>2025-04-18T23:53:14Z</dc:date>
    <item>
      <title>use the data_filter URL Parameter for data views</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1574959#M16878</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a use-case in which I would like to use a data view in a data_filter url parameter.&lt;/P&gt;&lt;P&gt;In the filter, I want to populate the count of a data view that is created from a layer.&lt;/P&gt;&lt;P&gt;The url parameter would be placed inside of the web map popup, and lead the user directly to the filtered page for that data view text.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndresCastillo_2-1736790363985.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123236i9DCF14F44811FAF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndresCastillo_2-1736790363985.png" alt="AndresCastillo_2-1736790363985.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndresCastillo_1-1736790247872.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123235i0F914CCD6A57DEBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndresCastillo_1-1736790247872.png" alt="AndresCastillo_1-1736790247872.png" /&gt;&lt;/span&gt;&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;P&gt;I am able to successfully filter an operational layer in the application when I refer to the &amp;lt;webmap_id&amp;gt;-&amp;lt;layerid&amp;gt;, in this case:&lt;/P&gt;&lt;P&gt;dataSource_1-18a09b4c123-layer-1&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain.portal.com/portal/apps/experiencebuilder/experience/?data_filter=dataSource_1-18a09b4c123-layer-1:Code=%27NYP%27&amp;amp;id=1373fa22361e4b31b4eaaa36bd2dabcd&amp;amp;page=app_page" target="_blank"&gt;https://domain.portal.com/portal/apps/experiencebuilder/experience/?data_filter=dataSource_1-18a09b4c123-layer-1:Code=%27NYP%27&amp;amp;id=1373fa22361e4b31b4eaaa36bd2dabcd&amp;amp;page=app_page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am NOT able to filter the data view created from that layer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndresCastillo_0-1736789985495.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123233i28E62BEE64A96B7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndresCastillo_0-1736789985495.png" alt="AndresCastillo_0-1736789985495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I obtained the data view's id from the app's item_data in the form of a json text (using arcgis assistant).&lt;/P&gt;&lt;P&gt;In this case, the view's id is:&lt;BR /&gt;dataSource_1-18a09b4c123-layer-1-dataView_1:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://domain.portal.com/portal/apps/experiencebuilder/experience/?data_filter=dataSource_1-18a09b4c123-layer-1_dataView_1:Code=%27NYP%27&amp;amp;id=1373fa22361e4b31b4eaaa36bd2dabcd&amp;amp;page=app_page" target="_blank"&gt;https://domain.portal.com/portal/apps/experiencebuilder/experience/?data_filter=dataSource_1-18a09b4c123-layer-1_dataView_1:Code=%27NYP%27&amp;amp;id=1373fa22361e4b31b4eaaa36bd2dabcd&amp;amp;page=app_page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The json shows this configuration for how the text is derived in the app:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                "text": "&amp;lt;p&amp;gt;Arrivals: &amp;lt;exp data-uniqueid=\"30b6aeb7_1db3_adce_2edf_80afb82fe54f\" data-dsid=\"dataSource_1-18a09b4c123-layer-1-dataView_1\" data-expression=\"%7B%22name%22%3A%22%20%22%2C%22parts%22%3A%5B%7B%22type%22%3A%22FUNCTION%22%2C%22exp%22%3A%22COUNT%22%2C%22dataSourceId%22%3A%22dataSource_1-18a09b4c123-layer-1-dataView_1%22%7D%2C%7B%22type%22%3A%22OPERATOR%22%2C%22exp%22%3A%22(%22%7D%2C%7B%22type%22%3A%22OPERATOR%22%2C%22exp%22%3A%22)%22%7D%5D%7D\"&amp;gt;&amp;lt;span contenteditable=\"false\"&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/exp&amp;gt;   &amp;lt;/p&amp;gt;",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of that piece of json, I'd think the 'data-expression' string would be relevant to grab for the url parameter to control the dynamic text.&lt;/P&gt;&lt;P&gt;Here is that string for better visibility:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "name": " ",
  "parts": [
    {
      "type": "FUNCTION",
      "exp": "COUNT",
      "dataSourceId": "dataSource_1-184ce793cfa-layer-9-dataView_1"
    },
    {
      "type": "OPERATOR",
      "exp": "("
    },
    {
      "type": "OPERATOR",
      "exp": ")"
    }
  ]
}&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;I am using ArcGIS Enterprise 11.2&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"originExbVersion"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"1.12.0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this time, this is the only related post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/experience-builder-custom-widgets/datasource-dataview-issues/m-p/1181358#M37" target="_blank"&gt;https://community.esri.com/t5/experience-builder-custom-widgets/datasource-dataview-issues/m-p/1181358#M37&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate anyone's help:&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4655"&gt;@TonghuiMing&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/124928"&gt;@Jianxia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&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>Mon, 13 Jan 2025 17:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1574959#M16878</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2025-01-13T17:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: use the data_filter URL Parameter for data views</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1605028#M18417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/277948"&gt;@AndresCastillo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to clarify the question. When using URL to filter the data view, is the result of the Text expression not filtered?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ke&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 01:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1605028#M18417</guid>
      <dc:creator>Ke_Xu</dc:creator>
      <dc:date>2025-04-11T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: use the data_filter URL Parameter for data views</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1607466#M18545</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/766971"&gt;@Ke_Xu&lt;/a&gt;&amp;nbsp;for your inquiry.&lt;/P&gt;&lt;P&gt;My main issue is that:&lt;/P&gt;&lt;P&gt;data views that are defined for a layer within Experience Builder do not seem to support being controlled by url parameters.&lt;/P&gt;&lt;P&gt;Hence, the example I gave where:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The main layer (dataSource_1-18a09b4c123-layer-1) works with a url parameter, but&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The data_view (dataSource_1-18a09b4c123-layer-1-dataView_1) defined from the main layer is not able to be controlled with a url parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only reason I gave the example json of the dynamic text is because that is where ExpB seems to be grabbing the dataSourceId to be able to control the data_view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternatively, it appears that the url parameter cannot support data_views as the layer to pass into the data_filter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 23:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-the-data-filter-url-parameter-for-data-views/m-p/1607466#M18545</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2025-04-18T23:53:14Z</dc:date>
    </item>
  </channel>
</rss>

