Looking to pre-populate values in an existing record via Survey123 custom URL.
The field parameters don't appear to populate when opening in the Inbox. This makes it difficult to pre-fill repeat sections or update parent table fields (i.e. use null note questions to then fill repeat values).
We want to be able to capture the current state of the visit in the repeat, but then clear the parent tables via a calculation. We also want to pre-fill different information depending on the source of survey launch.
Currently we can't prefill the data and it leaves it prone to calculation loops.
Is this the reason why when I use the below to retrieve the relevant record from the inbox:
arcgis-survey123://?itemID=xyzx&action=edit&folder=inbox&update=true&filter={WORKORDER_NUMBER}....
It only seems to open the record 'as-is' and not update it with additionally included parameters:
arcgis-survey123://?itemID=xyz&action=edit&folder=inbox&update=true&filter={WORKORDER_NUMBER}&field:STR_NUM_HOLDER={ADDRESS_NUM}
I've even tried combining this with the '?recalculate' function documented here by @IsmaelChivite that is supposed to "force certain fields to be recalculated, even if the record is opened in edit mode. " But it fails to update the record:
arcgis-survey123://?itemID=xyzx&action=edit&folder=inbox&update=true&filter={WORKORDER_NUMBER}&field:STR_NUM_HOLDER={ADDRESS_NUM}&recalculate=field:STR_NUM_HOLDER
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.