Skip to main content
let table = base.getTable("Orders");

let field = table.getField('Order Info');



let record = await input.recordAsync('Choose a record', table);

I know that if I make this script, I can press the button and then select the record to run the automation.

But what I wanted was to press the button and the script would already get the record without me choosing it.

Is there any way of doing this?

Create a button field in a data grid view and configure the button field to run the script.

Then run the script from the button field in a data grid view (not an interface or shared view).


Create a button field in a data grid view and configure the button field to run the script.

Then run the script from the button field in a data grid view (not an interface or shared view).


I'm doing this, but how can I make the script get the record that I pressed the button? What i need to do in the script?


I'm doing this, but how can I make the script get the record that I pressed the button? What i need to do in the script?


 


 


I've seen it, but when I make this script I still have to choose a record after pressing the button.


I've seen it, but when I make this script I still have to choose a record after pressing the button.


I was dumb, it worked now using what you said. Thanks hahahha


Reply