Select to view content in your preferred language

Is there a way to have a user select multiple parcels on a map?

135
2
Wednesday
MPach
by
Frequent Contributor

I know this has been brought up before and I thought there might have been addressed at some point in a post by @IsmaelChivite, but I can't see to find it. I have a map in survey and currently it can only accept the selection of a single parcel that it will store the data for in a linked feature layer once the survey is submitted. Ideally, I'd like to be able to capture more than one parcel using a map setup like this. Is there anyway to set this up? 

I've attached my survey excel file in case someone wants to have a look at it. 

Here's what the setup currently looks like in Experience Builder (This is what will be pushed to the public):

The map sits on the right side and the user chooses the parcel there and shows some information about the parcel below it. On the left side the information is pushed to the survey and captured in two questions. 

MPach_0-1777478675996.png

Thanks for your help in advance, 

Mark

0 Kudos
2 Replies
Neal_t_k
MVP Regular Contributor

One option and not as you describe, but you could add a button open the survey123 form on a new page with a dynamic Url using an arcade script to concat the selected parcels into a list and amending that list as a url parameter.

But the map and survey are not side by side and wouldn't update with a different selection

arcade for the button would look something like this:

var selectedFeatures = $dataSources["<dataSource_layer>"].selectedFeatures;

var ids = [];

for (var f in selectedFeatures) {
    if (!IsEmpty(f.<ParcelID>)) {
        Push(ids, f.<ParcelID>);
    }
}

var ParcelList = Concatenate(ids, ",");

return "https://survey123.arcgis.com/share/<itemID>?field:<fieldName>=" + UrlEncode(ParcelList);

 

MPach
by
Frequent Contributor

Thanks for idea Neal. I'll have to look into that a little more. I was hoping there was a slightly easier way, but I'm not really expecting much. 

0 Kudos