Multi Select Field (with multiple values) as a parent for Nfeed field

David Nickell January 10, 2013

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

1 answer

1 accepted

1 vote
Answer accepted
Cyrille Martin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 7, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events