Forum Discussion
17 Replies
- QuickBaseCoachDQrew CaptainI suggest that you make a button on the Dadhboard to Add Record and it has an option as to where to return to after the Save. Will that solve your problem?
- QuickBaseCoachDQrew CaptainThere is also another technique to use. Where is the User launching the Add Record from now? If launching off another record like a Parent, then there is another technique.
- DanaHauserQrew CadetWhat I'm trying to do is have a button in a report on the Dashboard that will make a duplicate of that record and bring the user back to the Dashboard. I've gotten close, but the record doesn't get saved. I have been able to create a button that duplicates a record and takes you to edit mode for that new record, but I'm hoping to create a smooth flow that takes just one click.
Thanks,
Dana - QuickBaseCoachDQrew CaptainI�m traveling now and just on an ipad and don�t have the time to post the full syntax.
If you post your current code I can probably adjust it.
The trick is to to change the code for the button which adds the record
This should solve your issue though. I�m using formula variables. If you have not used then before check the help.
Var Text URLONE = and code here to GenAddRecordForm;
Var Text URLTWO = and the URL of the Dashboard page;
$URLONE
& "&NextURL=" & URLEncode($URLTWO)- DanaHauserQrew CadetThe code I'm using is:
URLRoot()&"db/bnxn6mgw4?a=GenCopyRecord&rid="& [Record ID#]&
URLEncode(URLRoot() & "db/" & Dbid() &
"?a=dr&rid=" & [Record ID#])
No matter what I do I end up at the edit page for the new duplicate record. - QuickBaseCoachDQrew Captaintry this
var text URLONE = URLRoot()&"db/bnxn6mgw4?a=GenCopyRecord&rid="& [Record ID#];
var text URLTWO = " and paste in the full url of the Dashboard page including the https: and end in a semi colon.
for example
var text URLTWO = "https://mycompany.quickbase.com/db/xxxxxx";
$URLONE
& "&NextURL=" & URLEncode($URLTWO) - DanaHauserQrew CadetStill doesn't take me back to the Dashboard, just stays at editing the duplicate (unsaved) record.
I even tried to do it in two steps, where it brings me to the edit page and then I created a Save button that would bring it back to the Dashboard, but it won't save it. Just shows the original records.
The best I could come up with, is a button to duplicate and bring to the edit duplicate record page, a Save button to save it and bring you to the saved record in View mode, then a button to return to the Dashboard.
I very much appreciate your input. I'm learning some things regardless, mainly the variables, which is very nice.