Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi Team,
We have an old code with applycomponents, Can you please help me to replace it with Foreach, I have tried but I'm unable to handle the '_'. Please help
a!applyComponents( function: a!queryColumn( field: _ ), array: ri!selectColumns )
Thanks in advance
Discussion posts and replies are publicly visible
In order to use a!forEach() instead of a!applyComponents(), you have to reference your data using fv!item instead of the underscore. Try something like this:
a!forEach( items: ri!selectColumns, expression: a!queryColumn( field: fv!item ) )
Thank you so much Peter.