May 26, 2021 08:27 AM
i have a button field that run a script, i need to get tha field id(recordId) after press the button in the script, in some examples they recommend to use recordAsync(), but i have to chose the record, and i need to get it after press the button
Solved! Go to Solution.
May 26, 2021 10:20 AM
Thanks, i finally found the solution, if you need to get the record Id of the field after press a field button use this.
let tableClientes = base.getTable("Clientes");
let record = await input.recordAsync('',tableClientes).catch()
console.log(record.id, record.name);
May 26, 2021 10:20 AM
Thanks, i finally found the solution, if you need to get the record Id of the field after press a field button use this.
let tableClientes = base.getTable("Clientes");
let record = await input.recordAsync('',tableClientes).catch()
console.log(record.id, record.name);
Mar 20, 2024 09:22 AM
HERO WITHOUT A CAPE.
Worked, thanks
Jul 31, 2024 02:38 PM
Why is this not in the documentation! @support please fix this