Sometimes a Base is just for you. Sometimes it’s for a group. And other times it’s for the whole world. With Airtable, you can publish your Base publicly and collect data in a variety of ways.
To show you how to publish views, let’s embed a travel bucket list on our blog and create a form to get ideas for new destinations.
Shared views create read-only web pages that let people see a table without creating an Airtable account. The links generated are publicly accessible, letting you email the link to certain people or link to it from a website: https://airtable.com/shrhBkqEqMsAss20W.
Example Shared View
Create a shared view by clicking the Publish icon from the view bar and checking “Publish this view.” Click the preview icon to see how a page will appear to others. At any point in the future, you can refresh the link to generate a new one or uncheck “Publish this view” to make it private.
Airtable Forms let you collect information from anyone and save it automatically to an Airtable Base. You can create forms and surveys that support file attachments, work beautifully on mobile devices, and connect to the Airtable API. Form views are generated automatically from your existing table and give you the ability to rearrange and remove fields.
We’re going to use a form to collect trip recommendations. All form submissions will be automatically added to our trip Base.
Create a form by visiting the table that you want to collect the submissions and selecting “new form view” from the view switcher. You’ll immediately see a preview of the form. Customize it by removing fields, editing fields, and specifying a confirmation message. Once everything is set, click “Share form” for a link to the form: https://airtable.com/shrj1pIQ44iLo8hKI.
Example Form View
Each time a form is submitted, a new row will show up in your table. If you want to be notified every time there’s a submission, you can setup Slack notifications or email notifications through Zapier.
Similar to sharing a link, you can embed a read-only view on your website. If we wanted to add our travel bucket list to blog, it would look like this. (It’s interactive — try searching or expanding a record!)
Here’s how an embedded form will appear. Go ahead and submit a recommendation!
To get the embed code, click “Embed this view on your site” link from the publish dialog. You’ll see a preview of what the embed will look like, and you can copy the code you’ll need to add to your website.
To unpublish an embedded view, uncheck the checkbox in the publish dialog. When you unpublish a view, any links or embedded views that you previously shared will immediately stop working.
Next: Advanced Tips & Tricks