Oct 18, 2021 09:43 AM
Hi there - Does anyone know if it’s possible to get a link to a record and/or view using scripting?
Oct 18, 2021 10:09 AM
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
Oct 18, 2021 12:27 PM
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.
Oct 18, 2021 12:28 PM
base.tables
and table.views