MichaelTamoush
4 years agoQrew Captain
Redirect after user edit
Am I forgetting how NextURL works? Does it not work with a user editing a record. I'm only trying to have a user edit a record, on a specific form, then once they hit save redirect. What am I doing wrong?
Using my code below, it is like it doesnt see the redirect and just lands on the App home page. Does NextURL not work when editing a record, or do I have a typo I am missing?
var text Edit = URLRoot() & "db/" & "bpxsufvbt?a=er&dfid=10&rid=" & [Related Project];
var text Redirect = URLRoot() & "db/" & "bpu98ejpu?a=dbpage&pageID=44";
"<a class='OpenAsPopup' data-height=500 data-width=700 style=\"background: #7aace0; border-radius: 5px; color: #ffffff; display: inline-block; padding: 2px 0px; width:150px; text-align: center; border: 1px solid #030404; font-size: 11px \"href='"
& $Edit
& "&NextURL=" & URLEncode($Redirect)
& "'>Add Contract ID/Address</a>",
------------------------------
Mike Tamoush
------------------------------
Using my code below, it is like it doesnt see the redirect and just lands on the App home page. Does NextURL not work when editing a record, or do I have a typo I am missing?
var text Edit = URLRoot() & "db/" & "bpxsufvbt?a=er&dfid=10&rid=" & [Related Project];
var text Redirect = URLRoot() & "db/" & "bpu98ejpu?a=dbpage&pageID=44";
"<a class='OpenAsPopup' data-height=500 data-width=700 style=\"background: #7aace0; border-radius: 5px; color: #ffffff; display: inline-block; padding: 2px 0px; width:150px; text-align: center; border: 1px solid #030404; font-size: 11px \"href='"
& $Edit
& "&NextURL=" & URLEncode($Redirect)
& "'>Add Contract ID/Address</a>",
------------------------------
Mike Tamoush
------------------------------