Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Re: [x-post] Launched: get the active table/view!

1664 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Tim_Deng
Airtable Employee
Airtable Employee

Hi y’all!

The Cursor API is now accessible within the scripting block. You can use it to access the currently active table ID and view ID. This is particularly useful for removing the need for your users to manually select tables and views while running a script.

Learn more about how to use it in our scripting block API documentation.

Screen Recording 2020-08-06 at 04.06 PM

Hope you all enjoy the new feature; happy scripting!

3 Replies 3
Bill_French
17 - Neptune
17 - Neptune

Freakin’ far out! Two enthusiastic thumbs way up!

kuovonne
18 - Pluto
18 - Pluto

Thank you! This is awesome. I disliked having to hardcode the table name in a script that was invoked by a button. This makes it easier to reuse the same script for buttons in different tables.

:star_struck:
Very, very, very enthusiastic !
It’s a very big event in Script-Block’s life !

oLÏ€