Skip to main content

Clearing all files from a file column

  • October 31, 2020
  • 5 replies
  • 1370 views

Hello all,

I’m having difficulties with clearing all files from a file column.
I understand I should set clear_all to true when sending this request but where exactly should I all this variable? do I need to use the change_column_value method? should I send it to v2 or v2/file?
I would be grateful if someone could share an example of the entire GraphQL query for clearing files.

Thanks.

This topic has been closed for replies.

5 replies

  • Community Expert
  • October 31, 2020

Hey @omershk,

welcome to the community.

This is one posibility:

    mutation {
      change_column_value (board_id: 819602732, item_id: 819602741, column_id: "files", 
                value: "{\\"clear_all\\":true}") {
                    id
                }
    }

Just send it to the usuall v2 endpoint.

Hope that helps.

Greetings


dsilva
Forum|alt.badge.img
  • Participating Frequently
  • November 2, 2020

Hey @omershk - welcome to the community!

The above suggestion from @TMNXT-Dev should do the trick 🙂 if not please let us know.

-Daniel


  • Author
  • New Participant
  • November 25, 2020

Thanks! problem solved 🙂


AlexSavchuk
Forum|alt.badge.img
  • monday.com Team Member
  • November 27, 2020

@omershk

That’s amazing! Thanks for letting us know 🙂

If you have any other questions, feel free to reach out ⭐

-Alex


  • March 10, 2021

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