Select to view content in your preferred language

Error on CallBack from Survey123

447
2
Jump to solution
05-04-2023 10:51 AM
kapalczynski
Frequent Contributor

I have a survey that utilizes Fieldmaps.  Since Fieldmaps does not apply water marks on the images I am forced to jump to Survey123 to take images etc.  

I then have a CallBack to get back to the FieldMaps app.  ALTHOUGH when I get back it pops an error saying 

"Unable to Open Link the Reference Context parameter is required"

 

Do I need a referenceContext="???" on the Survey123 call or on the FieldMaps Callback?

<a href="arcgis-survey123://?itemID=cb33fc9a378f4689b91b1xxxxxxxxx&amp;field:REL_GLOBALID={GLOBALID}
&amp;field:GEOGRAPHICAL_LOCATION={LATITUDE},{LONGITUDE}
&amp;callback=arcgis-fieldmaps://?itemID=1cf5c7a0323d4044b2xxxxxxx" 
rel="nofollow ugc" 
target="_blank">Add Inspection Form</a>

 

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

I have created a Field Maps app with a link to Survey123 where the survey closes on submission using a callback similar to yours. I don't believe you need to include the field maps itemID in your callback. 

i.e. just use the following:

arcgis-survey123://?itemID=cb33fc9a378f4689b91b1xxxxxxxxx&amp;field:REL_GLOBALID={GLOBALID}&amp;field:GEOGRAPHICAL_LOCATION={LATITUDE},{LONGITUDE}&amp;&callback=https://fieldmaps.arcgis.app

 

View solution in original post

2 Replies
by Anonymous User
Not applicable

I have created a Field Maps app with a link to Survey123 where the survey closes on submission using a callback similar to yours. I don't believe you need to include the field maps itemID in your callback. 

i.e. just use the following:

arcgis-survey123://?itemID=cb33fc9a378f4689b91b1xxxxxxxxx&amp;field:REL_GLOBALID={GLOBALID}&amp;field:GEOGRAPHICAL_LOCATION={LATITUDE},{LONGITUDE}&amp;&callback=https://fieldmaps.arcgis.app

 

kapalczynski
Frequent Contributor

@Anonymous User  Cheers... that did it... 

0 Kudos