Forum Discussion
MikeTamoush
3 years agoQrew Elite
Update:
Functionality worked with AddRecordAPI, unfortunately it turns out when launching from the parent, the %%rid%% references the Parent Record ID, rather than the newly created Record ID.
------------------------------
Mike Tamoush
------------------------------
Functionality worked with AddRecordAPI, unfortunately it turns out when launching from the parent, the %%rid%% references the Parent Record ID, rather than the newly created Record ID.
------------------------------
Mike Tamoush
------------------------------
MarkShnier__You
Qrew Legend
3 years agodid you try this?
var text URL =
$AddRecord
& "&NextURL=" & URLEncode($EditRecord) & $RID;
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
var text URL =
$AddRecord
& "&NextURL=" & URLEncode($EditRecord) & $RID;
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
- MikeTamoush3 years agoQrew EliteYes. Interestingly, still no luck. I am wondering if I need GenRecordAdd form. But either way, if I use NextURL it defeats the purpose, because the goal is the user doesnt stop on add record. The goal is the record is quickly added in the background, and then the user lands in edit mode on the record. To the user, they are adding a record, they just dont realize the Record ID now already exists.
------------------------------
Mike Tamoush
------------------------------ - MikeTamoush3 years agoQrew EliteMy theory is that in order to take advantage of the %%rid%% functionality, you need to be in an add record, then be pushing a button and you can grab the record ID of the source (launch) record.
But i dont think you can create a new record, and get the new record ID of the record you just created, you gotta press a rich text button inside that add (new) record.
I have this in my notes, which I believe was from the release notes:
"Use record ID# as a parameter when you click a custom hyperlink from an add record form. "
So this would confirm that the basic concept wont work.
------------------------------
Mike Tamoush
------------------------------ - MichaelFrishma12 years agoQrew Cadet
If anyone comes across this in the future, check out the CreateChildSaveAndEdit (CODE PAGE) on Kirk Trachy's Magic Buttons app.
------------------------------
Michael Frishman
------------------------------