Add Choices dynmically in Dropdown through API via Fusion | Community
Skip to main content
April 20, 2023
Solved

Add Choices dynmically in Dropdown through API via Fusion

  • April 20, 2023
  • 2 replies
  • 1698 views

Hi,

 

We have a requirement where we need to keep adding option in dropdown based on meta data we receive everyday. SO that user can select values through dropdown.

Can we have some Workfront API through which we can do so or any fusion module can keep on adding option dynamically into Dropdown.

 

Any help or suggestion is highly appreciated.

 

Thanks

Best answer by Rafal_Bainie

yes, this is fairly simple API call to make:

 

where parameterID is the ID of the field where you want to add new "option". Label and value are hopefully self-explanatory since they match 1:1 to what is visible in custom form editor.

 

Hope this helps 

2 replies

Rafal_Bainie
Community Advisor
Rafal_BainieCommunity AdvisorAccepted solution
Community Advisor
April 20, 2023

yes, this is fairly simple API call to make:

 

where parameterID is the ID of the field where you want to add new "option". Label and value are hopefully self-explanatory since they match 1:1 to what is visible in custom form editor.

 

Hope this helps 

Donna_Boj
Level 3
March 12, 2025

Hello Rafal,
Your idea has worked for me too, so thank you!

I was wondering if you knew how I could ensure this API Call only happened at Project level?
I have a scenario that is triggered by a change on a Project, so I only want these options to appear on the Project in question only.
This is what I have so far but the options get added to the drop down field at custom form level, I only want it to appear for that one Project:

 

Any help appreciated!

Thanks,

Rafal_Bainie
Community Advisor
Community Advisor
March 12, 2025

If I'm reading this correctly you want certain custom field values visible only specific project.

I think you need dedicated custom form to achieve this. If custom form is added to multiple objects, updating custom field on that form will update it everywhere across the board. 
And there is no way to hide some of the values only for some of the objects.

devDPAuthor
April 24, 2023

Hi Rafal,

 

Thanks you for your response . It worked for me.

 

Thanks alot