Expand my Community achievements bar.

SOLVED

Add Choices dynmically in Dropdown through API via Fusion

Avatar

Level 1

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.

devDP_0-1681967318413.png

 

Any help or suggestion is highly appreciated.

 

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

yes, this is fairly simple API call to make:

Rafal_Bainie_0-1681986035671.png

 

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 

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

yes, this is fairly simple API call to make:

Rafal_Bainie_0-1681986035671.png

 

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 

Avatar

Level 2

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:

Donna_Boj_0-1741770451596.png

 

Donna_Boj_1-1741770475016.png

Any help appreciated!

Thanks,

Avatar

Community Advisor

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.

Avatar

Level 2

Thank you for confirming.

Avatar

Level 1

Hi Rafal,

 

Thanks you for your response . It worked for me.

 

Thanks alot