

- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
session.activeViewIds
would return all of the tablesโ active viewIds
Use Case
Iโm prompting users for a couple view names in a script, but that seems unnecessary since the views users choose will likely be whatever their active views are. The views are meant to act as filters for which records are involved for the script. But itโs not ideal to be prompting for views if there are eventually a lot of views in use (and therefore a large single select to scroll through).
What Iโve Tried
Itโs possible to get all the view IDโs, the current tableโs active view ID, as well as view IDโs already known by name - but those donโt help because of the italicized words.
Example
Letโs say I have a base with two tables (Apples and Oranges) and a bunch of views in them. The Apples table is currently set to โZollieโs Apple Viewโ and the Oranges are set to โZollieโs Orange View.โ Iโd like to return the view ID for both of those Views, without returning any others.