Skip to main content

Query Column Name

  • August 6, 2020
  • 2 replies
  • 1412 views

Hello Anyone here can help get the column name from the settings and assign it on the const?

Right now if you pull up the basic const textcopy = settings.textcopy; it would return the column ID

is is possible to get the column name and assign it to another const?

Thanks in Advance.

This topic has been closed for replies.

2 replies

mitchell.hudson

@krismike, I believe you would need to query this using the api. This query should suffice:

{
  boards(ids:BOARD_ID) {
    columns(ids: COLUMN_ID) {
      title
    }
  }
}

AlexSavchuk
Forum|alt.badge.img
  • monday.com Team Member
  • August 6, 2020

Thanks for being on top of this, @mitchell.hudson!

@krismike was Mitchell able to resolve your question here, or is there any other way we can help you set up the const values you need?

-Alex