Hi,
How can I read dropdown labels? I only get ids.
I use query like this:
query {
items (ids: PULSE_ID) {
column_values (ids: "dropdown") {
value
}
}
}
Hi,
How can I read dropdown labels? I only get ids.
I use query like this:
query {
items (ids: PULSE_ID) {
column_values (ids: "dropdown") {
value
}
}
}
Hi @Pawel,
Thanks for posting in the Developers & API community 👋
If you introduce text
then it should return the actual labels themselves.
Will you give the query below a try and let me know if it does the trick?:
query {
items (ids: 000000000) {
column_values (ids: "dropdown") {
value
text
}
}
}
Here’s what it’s returning:
{
"data": {
"items": s
{
"column_values": s
{
"value": "{\\"ids\\":\1,2,3,4],\\"changed_at\\":\\"2019-11-22T22:57:12.669Z\\"}",
"text": "Alpha, Beta, Charlie, Delta"
}
]
}
]
},
"account_id": 000000000
}
And here’s a screenshot of the relevant Dropdown Column:
Cheers!
It’s working. Thank you!
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.