Is it possible to use a multi select field as the parent for an Nfeed field? When working with the Edit Query, the syntax of the select statement is something like this:
Select FieldX from TableY where FieldZ = '$parentValues.get(0)'
How would I modify this SQL to handled the multiple values in the parent field? I understand I'll change the "=" to "in", but what is the format of the parentValues variable?
Thanks in advance
Hi David,
Sorry I didn't catch you question before.
Indeed you can have a parent with multiple value. To access to those value in the child nFeed field you will use 'in' and other functions.
An example
If you have string values:
Select FieldX from TableY where FieldZ in ($parentValues.get(0).prefix("'").suffix("'").serialize(","))
Regards
Cyrille
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.