S
Shyamal Gurazada
I have a repeating section containing a drop-down for the list of categories
and a repeating table with a single column called "Question". The repeating
table is populated with "Questions" for the selected "Category" from a
secondary datasource using
XDocument.View.ExecuteAction("xCollection::insert", "group1_1").
This works fine only for the 1st row in the repeating section. Subsequent
rows in the repeating section continue to update the repeating table
"group1_1" since it's hard-coded in the script.
Question: how can we determine the ID ("groupX_y")for the newly inserted
repeating table so that it can be correctly populated when the drop-down
(belonging to the newly inserted row) is clicked?
and a repeating table with a single column called "Question". The repeating
table is populated with "Questions" for the selected "Category" from a
secondary datasource using
XDocument.View.ExecuteAction("xCollection::insert", "group1_1").
This works fine only for the 1st row in the repeating section. Subsequent
rows in the repeating section continue to update the repeating table
"group1_1" since it's hard-coded in the script.
Question: how can we determine the ID ("groupX_y")for the newly inserted
repeating table so that it can be correctly populated when the drop-down
(belonging to the newly inserted row) is clicked?