Is it possible to get visible fields for a chosen table and view? I checked the Airtable scripting documentation and I cannot find the property to check if a field is visible for that view
Solved
Get visible fields in a specific view
Best answer by JonathanBowen
Hi @Carmel94 - you can get information about the fields in a table, but not from a view. The fields from the table will be all fields.
for (let field of base.getTable("Table").fields) {
output.text(`Field "${field.name}" (${field.type}) options:`);
output.inspect(field.options);
}
=======================
Want to learn Airtable Scripting? 1 day bootcamp coming soon!
=======================
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.