Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set value on ConfiForms Smart Multiselect field using a child property?

Wade Meredith August 17, 2020

I am able to set the value of a smart multi-select field by feeding it a comma-separated list of record IDs. But I want to set the value using a comma-separated list of sub-values of the target record.

Example:

Form A contains records with a field called "rName".

Form B contains a smart multi-select referencing records in form A called "mvFormA". I can set these values by feeding that field a comma-separated list of entry IDs such as

mvFormA=4cd2a64f-ef16-4e54-95eb-e4c68dca8845, 130b391a-9910-40d1-8682-c12a917f446f, aeb32d51-9953-4cc1-947a-1ef80a5550e8 

But I want to set them by using a list containing the "rName"s of those records, such as this:

mvFormA.rName=Jane, Bob, Dave 

Is there a way to do this?

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
August 17, 2020

Smart fields operate on UUIDs (data saved is a reference to another record via UUID) and you need to set UUIDs

Wade Meredith August 17, 2020

Is there a filter or something I can use to get just the UUID's that match my list of "rNames" from the example above?

Alex Medved _ConfiForms_
Community Champion
August 17, 2020

When import or when you set teh values using rules? If the latter then you can use "Lookup and set" action instead and find the desired record via filter.. but you still need to set as UUID

Like Wade Meredith likes this
Wade Meredith August 17, 2020

I think that will work if I can filter by "rName" and then set the value using UUID's

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events