Common
Requirements
- the table must exist in Airtable
- all columns that you want to write to must exist in Airtable
- you must have a column named
DendronId
(case sensitive)
Side Effects
- this pod will add
airtableId
in the frontmatter of your note
Configuration
apiKey
Airtable api key
baseId
base ID of Airtable base.
tableName
name of resulting table.
srcFieldMapping
Mapping of Airtable fields with the note. This can either be a plain string or a dictionary that specifics additional properties. You can see the type definition below
type SrcFieldMapping =
| {
to?: string;
type: "string" | "date" | "singleTag";
filter?: string;
}
In all cases, the key represents the name of the column in Airtable.
- NOTE: the key must exist in Airtable before you are able to create a new value
string value
String value is the name of the field in Dendron. You can use any valid NoteProps (Private) as the value
srcFieldMapping: {Note ID : id, Title : title, Summary: body}
object value
to
: the name of the field in Dendrontype
: what type this field is on Airtablestring
: regular stringdate
: will convert a unix time liked theupdated
prop in a Dendron note to an Airtable datesingleTag
: creates aSingle Select
field on Airtable that is populated with Tags found in Dendron note- NOTE: Airtable does not let you create new values in single select via API. Make sure that all values exist or set the field as a string on Airtable before exporting and then convert back into a
Single Select
field
- NOTE: Airtable does not let you create new values in single select via API. Make sure that all values exist or set the field as a string on Airtable before exporting and then convert back into a
filter
: used withtype: singleTag
, used to restrict what tags are parsed from Dendron- eg:
{type: "singleTag", filter: "tags.foo.*"}
-> this will add tags that start with#foo.*
but will ignore all#bar.*
tags
- eg:
Backlinks