Loading a field from a view

Topic Labels: Scripting extentions
158 0
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast


I’m trying to learn basic scripting. I’m following some examples to get started and build a useful function, however I’m hung up pretty early on. I’m trying to pull all the entries for one specific field in a view. However, when I do this, my efforts keep ending up giving the “id” and “name” column, but not whatever I specified as the field. Here’s my code:

let table = base.getTable(‘Prints’);
let view = table.getView(‘PF - All Prints’);
let result = await view.selectRecordsAsync({
fields: [“Keywords”]

Any support would be appreciated! Thank you.

0 Replies 0