POST
|
Hi @Shen_Zhang , Thanks for explaining that in a simple way for me. I'm still learning how to use URL parameters and didn't understand all the terminology. I did what you showed and have encoded only the values, not the delimiters (commas, colons, etc.). It is working for me now. What is the best way for me to know that the change from data_id to data_s needs to be changed in the URL parameters? Do I need to watch the forums? ArcGIS Blogs? There will come a point when it won't automatically update for me right? If I update to #data_s now is that going to cause any issues down the track. Is there any reason I'd want to wait to make that change since I'm already in the data now updating the URL parameters?
... View more
03-01-2024
12:16 AM
|
0
|
0
|
357
|
POST
|
Hi there, I applied url parameters in my map last month. (Still new to it.) I've read through the new URL parameter instructions, but haven't managed to wrap my head around it. I was using data_filter and data_id in my URL parameters. In the updated version does # replace ? in data_filter? Or is this one spot where ? won't be deprecated? This was my expression that used to work, but with the latest update now is unfiltered across the board. https://experience.arcgis.com/experience/<AppID>/?data_filter=<thelayer>%3AOperationName%3D%27TestSite%27%2C<thelayer>%3AOperationName%3D%27TestSite%27%2C<thelayer>%3AOperationName%3D%27TestSite%27&data_id=<otherlayer>%3<objectid> I tried changing it to: https://experience.arcgis.com/experience/<AppID>/?data_filter=<thelayer>%3AOperationName%3D%27TestSite%27%2C<thelayer>%3AOperationName%3D%27TestSite%27%2C<thelayer>%3AOperationName%3D%27TestSite%27#data_s=<otherlayer>%3A<objectid>%3A<desiredobjectid> I think I might be confused here by the addition of the id, geometry and where options. Everything in my ExB relates back to the map so if I can get it filtered there the filter should flow through into the other widgets. The result I'd like to see in the map is two layers and one table to be filtered to OperationName=TestSite with the map centered on the #data_s. Thanks in advance for your help. Looking forward to having this up and running. Means less work for me later 🙂
... View more
02-29-2024
04:25 AM
|
3
|
3
|
512
|
POST
|
I've had to go in and edit the html to show pngs hosted on ArcGIS Online. This is for a set of cards. Previously the images automatically loaded through their Experience Builder thumbnails, but have added in URL Parameters, so can no longer use the Gallery option. I noticed when I go back to look at the cards (2nd or 3rd time after the initial load) I can't see them. I see their alt text. I've hosted the images on ArcGIS Online. I read a post from 2021 saying this happens if you try to use images hosted in your AGOL organisation in the Hub. Is this true? Has this been fixed? Are there any good work arounds where I don't have to go outside of the Hub/ArcGIS Online to host my photos? Is there a roadmap for this?
... View more
02-13-2024
05:18 PM
|
0
|
0
|
200
|
POST
|
Hi @BrianRollison has this capability been added into the Hub? I have to put images into cards and noticed the image isn't sticking. I loaded the images into AGOL because I thought that made sense since the Hub is an ArcGIS Online product. Is it still the case we need to host images outside of AGOL to put in the Hub?
... View more
02-13-2024
07:03 AM
|
0
|
0
|
93
|
POST
|
As a url parameter newbie it took me a while, but I finally solved it, and now this should save me loads of time when I need to add in new operations. Michael helped me out a lot with his video explanation and think through the process a bit more. As a note for people new to url parameters that might want to apply data_filters to their workflow these are some things to be aware of: Sometimes once you hit enter it will encode some of your unencoded characters for you like : to %3A, so it's probably best to follow the documentation and make sure everything is encoded from the start =, &, : etc The datasource id will be slightly different if you use a map widget vs a non-spatial widget like a list If you are filtering sublayers from the same feature service it's the same, but slightly different... that's the best way to explain it without including the exact url parameters It would be worth considering putting points 2 and 3 in the URL Parameter section of the Experience Builder documentation as it would help more URL Parameter beginners to explore its possibilities and applying it to their projects.
... View more
02-11-2024
07:23 PM
|
1
|
0
|
476
|
POST
|
Hi there, what's the difference between https://experience.arcgis.com/experience/<id> and https://experience.arcgis.com/<id>? When I share the URL it asks the user (first one) to sign in to ArcGIS Online (fair), but then it takes them into the Experience Builder home page where you can select from any of the Experience Builders in the organisation, not the View published version of the Experience Builder. Should I be sharing the url differently? This is for a not tech savvy user so want to make it as simple and easy as possible.
... View more
02-07-2024
04:05 PM
|
0
|
1
|
251
|
POST
|
@MichaelGaiggEsri Great video- Easy peasy lemon squeasy. haha! You've got another follower. To add a curve ball to that. I left out some info that in hindsight is essential. The three layers I want to filter in the map/widgets are all sublayers of one feature service (sub layers 45,47 and 48). Watching your video reminded me of that... So they are all dataSource_1 (ds1 for data_filter). I've tried to filter all of them, but only the first one listed seems to apply the filter. https://experience.arcgis.com/experience/<appid>/?data_filter=ds1-xxxxxxxxxxx-layer-45:OperationName%3D%27Test%27,ds1-xxxxxxxxxxx-layer-47:OperationName%3D%27Test%27,ds1-xxxxxxxxxxx-layer-48:OperationName%3D%27Test%27 So I haven't solved it fully, but wanted to give you a status update since you were so quick to make that video reply. Thanks!
... View more
02-05-2024
08:27 PM
|
0
|
1
|
525
|
POST
|
Hi ExBers, I want to apply the data_filter in my URL parameters. I was linked this article to follow. https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm#ESRI_SECTION1_0A01682276CD4E7985CA7E222BD648C1 I have some experience using ArcGIS Assistant and URL parameters in Dashboard, so understand a little, but not a whole lot. I have three layers I want filtered, and I want these to filter in the web map and all the other widgets which have triggers and actions on them. I want them filtered at the time of the user enters the Experience Builder. Previously I was querying the layers in Map Viewer and that meant a long ExB set up time anytime we switched out the web map. How do I know which data source is 1, 2 and 3? Do I figure that out by looking in Experience Builder's data source properties of the map or should I have a look in ArcGIS Assistant? This is what I've tried using our Test site and with the appid removed for privacy purposes. https://experience.arcgis.com/experience/<appid>/?data_filter=ds1:OperationName%3D%27TestD%27,ds2:OperationName%3D%27TestD%27,ds3:OperationName%3D%27TestD%27 This is the query I want to apply to all of them- OperationName=Test or should it be OperationName='Test'? Hopefully you can point me in the right direction.
... View more
02-05-2024
06:18 AM
|
0
|
6
|
611
|
POST
|
Hi ExBers, I've got a list widget and a feature info widget side by side in a grid widget. I want to get the list widget to stretch to fill the full height. How do I do this? Below are screenshots of what it currently looks like and my settings.
... View more
02-04-2024
07:23 PM
|
0
|
1
|
256
|
POST
|
Hi @bbollin .Thank you for your reply and providing workarounds. I tried editing the web map's JSON in ArcGIS Assistant, but couldn't get the auto-populate to work in conjunction with the editable setting. This is what I tried. In the CommsRecord layer, tested on Contact_First_Name field. In Map Viewer applied this arcade expression to pass the attributes. I didn't name the relationship at the time of publishing, so that's why it is ''. // load all related features
var related_features = FeatureSetByRelationshipName($feature, '', ['PrimaryOccupierContactFirstName'], true)
// select one of those features, here we just grab the first one
var related_feature = First(related_features)
// if there are no related features, related_feature will be null and we will
// get an error down the line, so we need to check that and return early
if (!IsEmpty(related_feature)) {
return related_feature['PrimaryOccupierContactFirstName']
} else {
return null
} Turned off editable in Map Viewer Form. Saved Form. Saved Map. Went into ArcGIS Assistant > Map Viewer item > JSON. Changed "editable" for only this field from false to true. This is the output if I have the Map Viewer form formatted with editable turned off. This is the output if I have the Map Viewer form formatted with editable turned on.
... View more
01-28-2024
05:19 PM
|
0
|
0
|
227
|
POST
|
Hi there AGOLers, I'm sure others must have asked this before, but wasn't able to find the solutions in my web searches. I have set up an arcade expression to pass attributes from the parent polygon to the related table. This is great for the field team. It's cutting out a lot of repetitive filling in. Sometimes however the data that is being passed through is incorrect or needs to be modified or overwritten. Is there a way to do this? In Map Viewer's Form> Logic if I have a Calculated expression applied (to auto-populate the answer) I have to turn Logic's Editable off. Are there any work arounds for this? Or is there a road map to allow for editing the output of Calculated expressions? I have considered setting up a default template, but that only works for static answers right? The reason why I am asking this question is I have a bunch of Experience Builders set up that currently pass attributes from a layer in the map into new related records in ExB's Survey123 widget. It would save me a lot of set up time if I just used the calculated expression in Map Viewer forms now that related records can be viewed, editted and added in Map Viewer.
... View more
01-25-2024
12:05 AM
|
1
|
3
|
432
|
POST
|
I wasn't able to solve this the way I wanted to. In the end I hit the road block that calculated expressions in forms are not editable. Instead I went about it another way. Since this feature layer is used to pass attributes into related table in a form in the Experience Builder I ended up adding all the owner and occupier fields from the feature layer into the table we want to pass the attributes into, hiding these newly added fields in S123 connect (so there isn't extra clutter in the form for the front end user) and then setting up a Selected() expression like this in the calculation field. if(selected(${Ownerisoccupier},'Yes'), ${PrimaryOwnerFirstName}, ${PrimaryOccupierFirstName})
... View more
08-22-2023
02:38 AM
|
0
|
0
|
516
|
POST
|
Hi @AndreasHall , thank you for your reply and that makes sense to me now. I'm in contact with the imagery publishers now.
... View more
08-20-2023
01:31 AM
|
0
|
0
|
731
|
POST
|
Hello, We are visiting different properties and collecting owner/occupier details. I'm setting up a form in Map Viewer. If the owner is the occupier I'd like for the owner fields to get automatically populated into the occupier details so the surveyor doesn't have to do that themselves. (Some context: owner details are already populated. This is for if surveyors go back into any existing entries and need to fill out occupier details.) This is the expression I wrote in the Occupier field. I have double checked I don't have any misspells and am using the correct features below. if ($feature.OwnerIsOccupier=='Yes') {
return $feature.owners_updated;
} else {
return "";
} When I test it /do a run it outputs correctly, but when I go into Map Viewer and enter via the form nothing happens. (Yes, the owner fields are all populated so there is data ready to copy over.) Have I missed something here? This is the guidance I am following. I have made sure to save the form and map before editing a parcel/going into the form to update the occupier details. I have this set up as an arcade expression will the user be able to manually override it (type in an answer) if it is empty? Instead of "" is there a better thing to put there like null?
... View more
08-19-2023
11:27 PM
|
2
|
1
|
616
|
Title | Kudos | Posted |
---|---|---|
1 | 02-11-2024 07:23 PM | |
3 | 02-29-2024 04:25 AM | |
1 | 01-25-2024 12:05 AM | |
1 | 01-29-2023 01:47 PM | |
3 | 04-26-2023 08:01 PM |
Online Status |
Offline
|
Date Last Visited |
Friday
|