question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bulk Refresh All Custom Fields of all Cards

See original GitHub issue

I would like to get all the cards of a board, including the custom fields. The Trello Api allows you to do it with a single call. https://api.trello.com/1/boards/{boardId}/cards?customFieldItems=true&key={key}&token={token}

Currently with Manatee.Trello, I have to loop and refresh Custom Fields for each card. I hope I missed something. There must be a better way. Here’s my current code:

var board = _factory.Board("*****", _auth);
await board.Refresh();
await board.Cards.Refresh();
board.Cards.ToList().ForEach(c => c.CustomFields.Refresh());
return board;

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
vlainecommented, Sep 15, 2018

Good job. No more loop to get CustomFields. Thanks

var board = _factory.Board("*****", _auth);
await board.Refresh();
await board.Cards.Refresh();
return board;
1reaction
gregsdenniscommented, Sep 15, 2018

Please see v3.3.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bulk Refresh All Custom Fields of all Cards #252
I would like to get all the cards of a board, including the custom fields. The Trello Api allows you to do it...
Read more >
How to Update Multiple Custom Fields?
If you want to update or remove custom fields in bulk, make the selection of cards and access the Custom fields panel from...
Read more >
How to bulk update Custom Fields
While there are no tools in Cavallo that will easily allow you to bulk update any of your new Custom Fields, you can...
Read more >
Update custom fields in bulk
Updating custom fields in bulk is easy with OnePageCRM. Quickly select the relevant contacts and decide whether to apply a contact-level or ...
Read more >
Update all posts at once - ACF Support
I have changed the value of the choices in a checkbox custom field . Is there any way to update at once all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found