Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
Mick,
There is help in the API guide but basically you need to convert this to an a formula URL using an the CopyMasterDetail API, and then you can do successive actions. ie do the copy and then redirect to show the dashboard.
So it would be like
var text URLONE = urlroot() & "db/" & [_DBID_of the Parent table] & "?act=API_CopyMasterDetail&recurse=false&sourceRID=463&relfids=510";
var text URLTwo = and here you need to hard code the main URL of the app.
var text URLTWO = "https://mycompany.quickbase.com/db/abcdefg;
$URLONE
& "&rdr=" & URLEncode($URLTWO)
There is help in the API guide but basically you need to convert this to an a formula URL using an the CopyMasterDetail API, and then you can do successive actions. ie do the copy and then redirect to show the dashboard.
So it would be like
var text URLONE = urlroot() & "db/" & [_DBID_of the Parent table] & "?act=API_CopyMasterDetail&recurse=false&sourceRID=463&relfids=510";
var text URLTwo = and here you need to hard code the main URL of the app.
var text URLTWO = "https://mycompany.quickbase.com/db/abcdefg;
$URLONE
& "&rdr=" & URLEncode($URLTWO)