Airtable collection model #623
Replies: 3 comments 2 replies
-
Fantastic, I have a use for this coming up I think... |
Beta Was this translation helpful? Give feedback.
-
Note - @johanjanssens fixed a typo in the above extension. It should be:
|
Beta Was this translation helpful? Give feedback.
-
apparently line 15 |
Beta Was this translation helpful? Give feedback.
-
Collection model for Airtable. Install by adding the following code to
/joomlatools-pages/extensions/pages/model/airtable.php
In your page frontmatter define the collection as follows.
Use as:
The
identity_key
is not required but it's recommended to have a unique field in your table to make it easy to query a single record. You can use theAutonumber
field for this: https://support.airtable.com/hc/en-us/articles/360042807273-Autonumber-fieldFor more complex tables it's recommended to add a
Last Modified Time
field: https://support.airtable.com/hc/en-us/articles/360022745493-Last-modified-time-field to your table. This gives you more granular control over the how the collection hash is calculated.Thats it! Happy coding
Beta Was this translation helpful? Give feedback.
All reactions