Is there a way with the API to create new column of type Color and add the labels in the creation?
I know there is no way to add labels via API after the column is created.
Hello @kulaone and welcome to the community!
I hope you like it here
Are you referring to the color picker column?
If you are referring to status columns, it is possible to add labels after creation. See:
Updating the status column
If you don’t specify create_labels_if_missing: true
in your query, the labels you send that don’t exist already will not get created and your query will get an error containing all the existing labels and their indexes.
Jim - The Monday Man (YouTube Channel)
What is Make & How can it help you with monday?
We Create Custom Solutions - Your Make or Ours
Schedule a 1-on-1 Tutorial Session (for monday, Make or Excel)
@Matias.Monday,
Thanks. Yes, color picker / the status columns
@JCorrell, This is brilliant, Thanks!
So, if I need to add a new status column with 5 predefined labels. I will need to create an item with the first label, update its status 4 time and then delete it? Can it be done without creating an item and delete it?
The logic place for that will be in change_column_metadata, but its only support Title and Description.
To my knowledge, writing the status labels that you want to add is the only way to do that.
BTW, the fact that status columns are also referred to as “color” columns can make it confusing. But there is also a column type “color picker”… totally different and rarely used.
Jim - The Monday Man (YouTube Channel)
What is Make & How can it help you with monday?
We Create Custom Solutions - Your Make or Ours
Schedule a 1-on-1 Tutorial Session (for monday, Make or Excel)