Skip to main content

Finding Pictures of a Task's People

  • June 12, 2022
  • 4 replies
  • 876 views

I have a fairly simple problem that I can’t find the right combination for graphQL. I have a board that I query data from. One of the columns of the board are people, but they give me their name instead of a userId. How am I supposed to get their user information so that I can get their profile pictures to display in an avatar?

Thanks,
Jeremy

This topic has been closed for replies.

4 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 12, 2022

Hello @jBoetticher!

If this is a people column, you will be able to get the userId with a query like this one:

{
  items(ids:1234567890){
    column_values(ids:"people_1"){
      value
    }
  }
}

Is this what you are looking for?

Cheers,
Matias


  • Author
  • Participating Frequently
  • June 17, 2022

Hi! That did help. I was missing the “value” within the query. I can’t help but wonder if there’s an easier way of getting the pictures of users on the board!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 19, 2022

In this case @jBoetticher, you will always need the user ID for this 🙂


  • June 26, 2022

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.