Refreshing All Pack Tables

Hi wonderful Coda community,

I’m looking to design a function in my pack that could refresh all Pack tables in a document.

I’m guessing a few of you have tackled this before - any advice?

My current solution is to manually add each table to a “Refresh Pack Table” button function, but our table structure is fairly dynamic so it’s not the most maintainable solution.


I haven’t but my direction would be to create a ‘black magic’ button with a composed formula, which would collect all the sync table references from either a pack that returns the list of tables (doc explorer etc) or even better, query the list of tables from the API right in the button’s click via your adhoc custom pack.

Could code this for you as a quick gig if you’re interested.

1 Like