Scripting: Get link to record and/or view

Hi there - Does anyone know if it’s possible to get a link to a record and/or view using scripting?

Airtable urls are fairly predictable. While the full url includes the Base Id which is difficult to get in scripting, if you know the table ID and the record/view ID you could construct the URL yourself:

https://airtable.com/baseID/tableID/viewID/recordID

If you want a link to a record you only need the table ID and record ID, if you want a link to a view you only need the table ID and view ID

Thanks. That is helpful. Is it possible to get a list of tables and views and their IDs then? I only know to call them on purpose.

base.tables and table.views

1 Like