Arcade Popup with parent > child > child

375
1
01-19-2021 10:52 AM
Labels (1)
AOSh
by
New Contributor

I have an arcade popup working between a parent and child. I need to incorporate popup text from the child to another child. This is a survey123 form that essentially has three levels.

0 Kudos
1 Reply
DougBrowning
MVP Esteemed Contributor

Are you using FeatureSet for this?  I would think you could grab the child, get the child globalid, then query the grandchild on parentglobalid.  I personally have my own relationships class where I pass my own keys down the line.

May help to post the code you have so far.

I do it like this.  Just add another level.  Hope that helps

var sql = "PointID = '" + $feature.PointID + "'";
var tbl = Filter(FeatureSetByName($map,"Points", ['*']), sql);
var val
for (var row in tbl) {
    val = row.CollectCoreSubset1
}
return val

 

0 Kudos