Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community !
My understand of ODAG is that in the "Template app" we can retrieve selected fields from the "Selection app" in variable with this syntax :
SET FieldValues = $(odag_FieldName);
But does ODAG send the list of selected fields on the selected app, so we can programmaticly construct our field values.
What I would like to do is something like that :
FOR field in fieldList
SET "$(field)" = $(odag_$(field))
// DO SOMETHING WITH $(field)
NEXT
Thanks in advance for reading or responsing 🙂
The short answer to your question is "no" ODAG does not pass all the selections rather you have to build your template so it knows what it needs and uses it. When you create the link you set the "Expression" and "Maximum Row Count" so that you can control weather or not the user has selected the right stuff to run your template. Although it is listed as an amount you really could just do it as a binary type value.
That's what I tought. Thank you for your answer.