JasonBiniewski
5 years agoQrew Trainee
RESTful API - how do I clone a record?
Hello. I'm new to using the Quickbase REST API. Querying and updating records is pretty straight forward. Now i want to be able to clone a record.
We've built a button in quickbase to do this using an formula: "javascript:void(copyMasterDetailButtonHandler('&recurse=false©Fid=16&destrid=0&sourcerid=" & [Record ID#] & "', 'bbbbbbbbb'))"
bbbbbbbbb is where the tableID goes.
I'm getting syntax errors when trying to build the formula in JSON. Any help is appreciated. Thanks!
------------------------------
Jason Bini
------------------------------
We've built a button in quickbase to do this using an formula: "javascript:void(copyMasterDetailButtonHandler('&recurse=false©Fid=16&destrid=0&sourcerid=" & [Record ID#] & "', 'bbbbbbbbb'))"
bbbbbbbbb is where the tableID goes.
I'm getting syntax errors when trying to build the formula in JSON. Any help is appreciated. Thanks!
{
"from": "bbbbbbbbb",
"formula": "javascript:void(copyMasterDetailButtonHandler('&recurse=false©Fid=16&destrid=0&sourcerid=" & [Record ID#] & "', 'bbbbbbbbb'))"
"rid": 1
}
------------------------------
Jason Bini
------------------------------