Expand my Community achievements bar.

Sort a WF drop down via API

Avatar

Level 2

Hello,

 

We use Issues in a Workfront project to manage values in a drop down for a form.  When someone adds a new issue, we trigger Fusion to add that to the drop down use a custom api call.

The problem that I'm having is that I like the drop downs to be sorted alphabetically and can't figure out how to do that via api call.
Has anyone done this and shed some light on the mystery?

 

thanks.

2 Replies

Avatar

Level 10

Hello,

 

Can you please post a screenshot on how you add new values to the dropdown?

 

I would suggest to think about changing the order in Fusion by putting all values into an array, use the sort() function and write back all values into Workfront.

 

Regards

Lars

Avatar

Level 10

Hi,

 

While researching another topic, I came across the this and this paragraphs in the documentation for External lookup fields.

 

As it is now possible to use Workfront itself as a datasource for this field type, perhaps you can achieve your target without a complex Fusion scenario.

 

With the help of the Workfront API documentation, you can sort your entries alphabetically.

 

 

Perhaps this could be a solution...

 

Regards

Lars