

- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
These posts are asking about a feature similar to the โfilterByFormulaโ in the standard API, to programmatically filter record selection.
My request is slightly different and I think falls into the โinteractiveโ idea behind the scripting block: session.selectedRecords()
.
The idea
Each record can be selected with a checkbox on the far left-hand side of the row, or all records can be selected from the box at the top. The UI allows users to โSendโ or โDeleteโ the selected records from the base when right-clicking after selection.
Providing a scripting block some way to detect which records are selected could help with more granular use-cases. For example, the user wants to update 4 records in โGroupXโ and 2 records in โGroupYโ. Right now, there are easy ways to filter records matching โGroupXโ OR โGroupYโ but not a mix (absent other algorithms for detecting the desired records).
Potential issues
One implementation issue that comes to mind is when does this selection get stored. If a user runs a scripting block with โNโ records selected, provides some information via an input.textAsync()
and deselects some records before submitting the text, does the script use the selected records at script start or at moment of execution?
What do others think? And anyone from Airtable, can you give hints if this might be in the works (or any other session variables for that matter)?