JavaScript Required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Pack Building Roadmap - Maker Stories Webinar
Share
Explore
Pack Building Roadmap - Maker Stories Webinar
Webinar Outline
Roadmap
Travel Brief App
App Highlights
Pack Makers' Checklist
Pack Builder Interface
Pack Types
Pack Details & Code
TBCountries Code
TravelBriefData Code
Pack Data & Formulas
API Data
My Pack Formulas
Daylight | Weather Formulas
Wikipedia Pack
Data Tables
Getting Started with Packs
Build your Pack
Improve your Pack
Hello Fetcher Sample Code
Questions | Feedback
All Comments
Notes
Pack Makers' Checklist
Homemade Packs
Homemade Packs
0
Search
TBCountries()
TravelBriefData(”Country Name”)
TBCountries()
Pack Type
Formulas
SDK Button
SDK - Formulas
Purpose
The TBCountries() pack formula returns the country names and URLs from the
travelbriefing.org
API. This data is used to populate the select list column in the Travel Brief app doc.
Pack Checklist
Preliminary Steps
:
Identify the purpose of the pack, Think about what you want to accomplish. For example,
Re-using a CODA formula across multiple docs.
Fetching or syncing external data and images from an API.
Creating custom actions and buttons.
Identify the pack type. Pack types include formulas, column formats, actions and buttons, sync tables, image retrieval, calls to API.
Pack Types
If using an API, determine if authentication is required.
Find sample code for your solution in the Coda Software Development Kit (SDK) or use an online reference such as:
Programiz.com
. This reference is a good source for quick answers to coding issues while building a Pack.
Pack Building
:
Go to the Pack builder interface in Coda and start a new Pack. Name the Pack something descriptive and easy to remember.
Build your Pack
If working with an API, review the API documentation and test the results in Postman.
Set up any authentication, if required.
Add the sample code to the interface and tweak the code for a custom solution. Use the / command to add more code blocks.
Build the pack in the Coda pack interface and resolve errors.
Add the pack to a sample DOC and test.
Annotate your pack making process for future reference.
Notes
:
If working with an API, paste the Postman results in a comment section at the end of your code for reference while building.
Consider making this checklist into a template to organize your packs.
JavaScript Code
TBCountries() - Code
Pack Types
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.