Skip to main content

Scripting: Get link to record and/or view

  • October 18, 2021
  • 3 replies
  • 40 views

Forum|alt.badge.img+14

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

3 replies

Kamille_Parks11
Forum|alt.badge.img+27

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


Forum|alt.badge.img+14
  • Author
  • Inspiring
  • 93 replies
  • October 18, 2021

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.


Kamille_Parks11
Forum|alt.badge.img+27

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