Select to view content in your preferred language

De-mystify Experience Builder URL parameters

23447
51
Jump to solution
09-24-2020 01:22 PM
JayJohnsonWashoeCounty
Regular Contributor

When I navigate to different features in Experience Builder I see a URL that (apparently) includes some identifier related to either the feature I've clicked on or maybe the location.  Can anyone de-mystify the RED part of the Experience Builder URL below?  Maybe Jianxia Song‌?

https://experience.arcgis.com/experience/2fe9e44b691a4e32a9f0b84df16531c0?data_id=dataSource_3-Elect... 

Obviously, what I'd like to do is be able to build URL strings to be able to direct users from an external web page to a specific location/feature within Experience Builder.

However, even though this portion of the URL appears to change as you navigate to different features/locations, it doesn't APPEAR to do anything at all if you past the whole URL into a new browser tab.  

Thanks,

Jay

Jay
Washoe County GIS
Tags (2)
51 Replies
TimConfare2
Occasional Contributor

I totally agree.  I've tried everything given the "documentation" but nothing works.  I would also like an example from the developers version as that appears to be different then the online version.

0 Kudos
amitchinson
New Contributor II

How do you dynamically use URL parameterisation to select data by ObjectID? I've looked at the documentation here 

https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm#ESRI_SECTION1_0A01...

and it looks like this is the relevant example and which would get the feature with ObjectID 1:

https://experience.arcgis.com/experience/<AppId>/#data_s=id:widget_1-dataSource_1-1871234a785-layer-2:1 

 

I have a Survey123 form which is within an Experience. I'm trying to use URL parameterisation to create a dynamic URL at the end of the form/on form submission, which will take the user to a map page in the Experience and use the ObjectID to select the data point they just created. So I want to pass the ObjectID value in as a parameter to the URL.


I have it working to select the point using a where clause with globalId below

https://experience.arcgis.com/experience/<experience ID>/page/<page name>#data_s=where%3A<data source and layer>%3Aglobalid%3D'@[globalId]'

 

But when I try replacing globalId with objectId it's not returning any objectID values (I don't think it's recognising objectId as a valid field, although it's definitely in my data feature service).

0 Kudos