session.activeViewIds would return all of the tables’ active viewIds
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.
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.