Can I use XPath or some other method to access fields?

05-17-2018 05:39 AM
Occasional Contributor III

I'm trying to use a calculated value in a repeat, that would be set to a field value from the parent record. The issue is that the Parent field name is called ProjectGlobalID.

The child field name, in the repeat, is also called ProjectGlobalID. I tried setting the calculate to {ProjectGlobalID} which produces an error, so I also tried setting it to {../ProjectGlobalID} but that also throws an error.

This error also happens when trying to access a field that DateCreated that exists in both a Parent record and a child repeat record set. How can I reference DateCreated of the Parent instance for Instance_Name in this case?

Any tips on achieving this?

Tags (1)
0 Kudos
1 Reply
Esri Esteemed Contributor

Hi Gregg,

Currently, Survey123 cannot handle the .. identifier for parent node.

0 Kudos