This Product Ideas board is currently undergoing updates, but please continue to submit your ideas.

Return an array of visible Field Names and IDs from View

Showing results for 
Search instead for 
Did you mean: 
11 - Venus
11 - Venus
Status: New Ideas
What is the proposed idea/solution?

When using the below code within a script,


console.log(table.getView("Grid view"))


The return object needs to include visible field Names and IDs from the target view.

How does is solve the user problems?

Currently, there is NO way to automate the return of visible field names/ids from views. View names must be hardcoded at script level, which is an utter pain. OR, the script author may simply start to return all fields within a table, which is a wasteful practice.

Who is the target audience?

Anyone who writes Scripts with the Scripting Extension or the Automation Script action.