Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

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

Topic Labels: Scripting extentions
688 3
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Freakin’ far out! Two enthusiastic thumbs way up!

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π