I found the documentation below on URL Parameters.
https://doc.arcgis.com/en/experience-builder/11.2/build-apps/url-parameters.htm#
How can you use Data Filter in enterprise?
The documentation says:
https://experience.arcgis.com/experience/<AppId>/?data_filter=dataSource_1:st=%27HI%27
however in enterprise the url look like
https;//yourportalsite.com/portal/apps/experiencebuilder/experience/?id=<appid>
adding ?data_filter=dataSource_1:st=%27HI%27 this doesn't because there are two url ?
https;//yourportalsite.com/portal/apps/experiencebuilder/experience/?id=<appid>?data_filter=dataSource_1:st=%27HI%27
Any help?
Hi KevincFox_bia,
The help doc gave an example of ArcGIS Online, this needs to be modified.
You could use portal url instead. Just like you provided above:
Thanks,
Ke
I'm tying to learn the correct format for portal. In AGOL the format is
https://experience.arcgis.com/experience/<appid>/?data_filter=dataSour
where you can include the url query string after the appid.
With portal you have the use the query string ?id=<appid> and it doesn't seem to allow &ing the strings and the hashtag to #data_filter doesn't seem to work. The documentation for Enterprise isn't updated from AGOL to portal.
These don't seem to work:
https://yourportalsite.com/portal/apps/experiencebuilder/experience/?id=<appid>#data_filter
https://yourportalsite.com/portal/apps/experiencebuilder/experience/?id=<appid>&data_filter
https://yourportalsite.com/portal/apps/experiencebuilder/experience/?id=<appid>?data_filter
https://yourportalsite.com/portal/apps/experiencebuilder/experience/?id=<appid>/?data_filter
Thank you for the response
Hi KevincFox_bia,
In the URL, there can be only one question mark , the splice statement uses the &
Take filtering OID =3 as an example.
https://yourportalsite/portal/apps/experiencebuilder/experience/?id=d32eeb3e2af74df7912357608cfcc715&data_filter=dataSource_2-18fcdfe55f5-layer-2-2%3AOBJECTID%3D3
It does work on Portal11.2. Please try at your side.
Thanks,
Ke