Setting a dropdown custom field via API by providing the POPT ID | Community
Skip to main content
tibormolnar
Level 4
October 7, 2025
Question

Setting a dropdown custom field via API by providing the POPT ID

  • October 7, 2025
  • 1 reply
  • 306 views

Hi All,

when I create / update a Workfront record via the WF API, I am expected to set the values of custom fields. I wonder what is the best practice method for populating drop-down custom fields.

I know that I can populate the field by providing the "value" of the custom field option, for example:

{ "DE:.Region": "Global" }

But then, if the value of the parameter option should change in the future, my integration would fail.

Is it possible somehow to populate the custom field by providing the ID of the desired Parameter option (instead its value) to the API?

Thank you,

Tibor

 

1 reply

SuryaLakhani
Level 4
October 9, 2025

@tibormolnar, for dropdown fields, there is a label and a corresponding value. You can see these by checking the Show Value checkbox: 

 

 

When using the API, you are actually setting the Value. When updates are made to the label, the value can remain unchanged. The values are generally kept the same, but you can change the value to an arbitrary ID; however, keeping up with the mapping will be a pain. 

tibormolnar
Level 4
October 13, 2025

All this is clear, @suryalakhani, but that's not what I'm asking.

I wonder if I can use the POPT ID instead of the value (or label) when updating a record (e.g. a project).

Here's an illustration of what I mean. Can I populate the country field by using the yellow highlighted ID instead of the red value.