FormDynamicElements Choices

Hello,

I'm trying to pull Custom Attributes from a ticketing app in order to pass them into a Dynamic Form using the FormDynamicElements data component; I've got the fields mapped properly and the ones that are supposed to be dropdowns are, but I'm unable to find a way to populate dropdown/combobox choices. How can choices be passed into FormDynamicElements to populate a dynamic form?

Thanks for any insight.

-AVX

Tags flow iPaaS dynamic-forms ipaas-dynamic-forms
Asked by Amanda X on Thu 10/24/24 12:07 PM
Sign In to leave feedback or contribute an answer

Answers (2)

This answer has been marked as the accepted answer
Amanda X Thu 10/24/24 1:58 PM

I found the answer here: https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=160230

"In order to populate dropdown data, you would need to utilize "otherProperties". The "name" is "choices", specifically to populate choices and the value is your desired value. You don't really need multiple rows for choices, you could populate a list and have the list as the value to populate your dropdown choices"

No feedback

Mark Sayers Thu 10/24/24 1:02 PM

Hello Amanda,

Had you already viewed this KB on configuring the behavior for Dynamic Forms? https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=141524

Sincerely,
Mark Sayers
Sr Support Consultant, CS

No feedback
Hi Mark,
Yes, I have. Dynamically filling in the choices of comboboxes for fields that are manually set on a form (like in the KB shown) is simple enough, but when working with Dynamic Elements, there is no representation on the form to be able to set or reference.
- Amanda X Thu 10/24/24 1:17 PM
The reason I asked about that KB is it mentions using flows to populate form data, which I expect is what you'll be needing since you're pulling custom attribute choices into the form to select. This KB in particular dives deeper into using flows to populate choices in dynamic forms: https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=152509 - Mark Sayers Thu 10/24/24 1:41 PM
I found the answer here: https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=160230

"In order to populate dropdown data, you would need to utilize "otherProperties". The "name" is "choices", specifically to populate choices and the value is your desired value. You don't really need multiple rows for choices, you could populate a list and have the list as the value to populate your dropdown choices"
- Amanda X Thu 10/24/24 1:57 PM