Select to view content in your preferred language

Passing Parameter from Field Maps to Survey123 INBOX Edit

1443
5
04-06-2022 11:15 AM
m3
by
Frequent Contributor

I am trying to pass an attribute from Field Maps to Survey123, much like the normal usage 

field:uniqueID={uniqueID}

But in this case I need to pass the parameter into an Inbox Edit.
This is what I've tried so far.  Is it even possible?

arcgis-survey123://?itemID=XXXXX&portalUrl=https://portal.url.com&action=edit&folder=inbox&filter=globalId:{GLOBALID}&field:uniqueID={uniqueID}

Thanks

5 Replies
HuubZwart
Frequent Contributor

You need to pass the globalId parameter as well (globalId=, filter only filters the inbox) to open a record directly. Also, you may need to pass the query parameter (q:OBJECTID= for example) to query the record if it isn't in the inbox yet. Finally, you may need to pass update=true to reload the inbox on opening the link. Hope that helps! 

m3
by
Frequent Contributor

bump

0 Kudos
m3
by
Frequent Contributor

Yes, it's not in the inbox yet.
Where would the OBJECTID query go?  Into the URL?  What is the exact syntax?  I've tried a few things and can't get it to work yet.  

Not surprisingly I can't find any documentation on this.

0 Kudos
ChristopherCounsell
MVP Regular Contributor

What version of Survey123 are you on? Use the latest to avoid issues i.e. 

https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzY3OQ==

Documentation is available here:

https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm

And here:

https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm

I would suggest checking your Inbox is working first and the field can be edited. There's guides on this:

https://youtu.be/rrQZNaqcCYI?t=272

After than, if the feature is not in the Inbox, the update parameter identified by HuubZward will fresh the inbox.  The query parameter will retrieve content not on the device. The above page 'integrate with other apps' talks more about what each parameter does

 

0 Kudos
m3
by
Frequent Contributor
arcgis-survey123://?itemID=ITEMID&portalUrl=https://PORTAL.URL/arcgis&action=edit&q:objectid={OBJECTID}?folder=inbox&update=true&filter=globalId:{GLOBALID}&field:unitid={expression/expr2}

I'm on the latest version

I've read the documentation

The inbox is working

I'm able to open the proper record in the Survey123 via the link in the popup

The inbox is not refreshing

The field:field=value parameter is not being passed either