Help

input.fieldAsync with view

Topic Labels: Scripting extentions
2403 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Operations_Kaho
5 - Automation Enthusiast
5 - Automation Enthusiast

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
VictoriaPlummer
7 - App Architect
7 - App Architect

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.