Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

input.fieldAsync with view

Topic Labels: Scripting extentions
727 2
cancel
Showing results for 
Search instead for 
Did you mean: 

I am following from API documentation. This is to capture selected fields.
let table = base.getTable("SP1: Donations");
let field = table.getField("CID");
output.inspect(field);

But what I wanted was to show fields specific for the selected view.
I currently select view via:
let view = await input.viewAsync("Messages will only be sent to records in this view", table);

2 Replies 2

Good Q, not possible atm as fields are scoped only to Table objects not views. But totally understand why you would want to do that.

Are there any plans to add this functionality? I’m working on a script that could really use this.