Select to view content in your preferred language

Any similar function to pulldata() to work with MMPK?

1411
9
07-09-2023 02:33 PM
lannguyentl
Regular Contributor

Hi All,

A linked MMPK in a survey form is so useful for offline basemap. However, will be much better if there is anything similar to pulldata() to work with the mmpk, such as pulling data under geopoint from mmkp to populate other fields while offline...

I believe many member in this community share the same thought with me.

Thanks!

Tags (2)
9 Replies
MarkWILSON_LLS
Occasional Contributor

Gday there @lannguyentl . Yes I am after this exact feature. 
I replied to another thread a few weeks ago along similar lines, (https://community.esri.com/t5/arcgis-survey123-ideas/select-features-in-survey123-map-geopoint-quest...

the end goal is to have pulldata(@layer) functionality in an offline setting (without having to use a URL link from FieldMaps etc)

PegGronemeyer1
Frequent Contributor

Greetings - 

@lannguyentl and @MarkWILSON_LLS 

I also would love this - pulldata gives me the exact function i need, but I can't go offline with it. 

You have my upvote

Thanks

 
MarkWILSON_LLS
Occasional Contributor

FYI, 
My current workaround for this is to have the pulldata(@layer) fields added as a note type linked to a geopoint field.

Process for offline collection:

1- Open the survey form and collect the GPS geopoint field - Note fields for reserve name, area etc are all unable to populate as the device is offline

2- Fill all fields and save the survey to the outbox

3 - When back in service/online, edit the survey from the outbox. without editing any fields the GPS Geopoint will now update all the pulldata(@layer) calculations and populate the note fields for reserve name, area etc.

4 - Submit the survey from the outbox.

PegGronemeyer1
Frequent Contributor

I appreciate this so much!  Thank  you

lannguyentl
Regular Contributor

Hi All, sorry for being offline for awhile.

In Sep 2023, I talked to Ismael Chivite when he came to NZ for our User conference, and he promised to have this function in 2024 🙂

@Ismael 

Has anyone heard anything yet?

Thanks,

Lan

0 Kudos
SteveBrewer
Occasional Contributor

Hi Lannguyentl. This would be a great feature and sorely needed. I will be testing a javascript that will do this function offline tomorrow with a json. If it works I will share it with you here as a fix until esri can provide this.

 

0 Kudos
lannguyentl
Regular Contributor

Thank SteveBrewer!

0 Kudos
MarkWILSON_LLS
Occasional Contributor

Hey @SteveBrewer , Did you ever make any progress on the java/json approach to this? 

many thanks

0 Kudos
PegGronemeyer1
Frequent Contributor

In case it  helps anyone - you can use pulldata offline using external CSV.  I hadn't realized this for over 2 years as everything said "pulldata doesn't work offline". Now I know it is not technically true.  Most of our work is offline. I have a csv with structure ID, lat/long, etc. Using select_one_from_file the user in the field selects the structure ID (which is in the CSV). Then the pull data function in calculate field pulls from the CSV to populate other questions, e.g. county, structure type, etc..   I have not yet been able to pull the lat/long into the geopoint via a concatenate of the lat/long from the csv, but I think it is me being stupid b'c there are postings that seem to suggest it is possible. 

0 Kudos