Forum Discussion
MichaelTamoush
5 years agoQrew Captain
Yes, I am attempting the edit call first. I am simply trying to edit a field, and then run the EFP script. Right now I have what is below. It runs the edit portion but not the redirect.
var text EditApproval = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=xxxxxxxxxxxxxxxxxxxxxxxx" &
"&_fid_9=Approved" ;
var text GenDoc = "javascript:var wnd = window.open('https://www.aws-juiced-client2.com/Juiced/ExactFormsPlus2/doc_merge.aspx?"
& the rest of the Juiced Exact Forms Addon code;
$EditApproval
& "&rdr=" & URLEncode($GenDoc)
------------------------------
Mike Tamoush
------------------------------
var text EditApproval = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=xxxxxxxxxxxxxxxxxxxxxxxx" &
"&_fid_9=Approved" ;
var text GenDoc = "javascript:var wnd = window.open('https://www.aws-juiced-client2.com/Juiced/ExactFormsPlus2/doc_merge.aspx?"
& the rest of the Juiced Exact Forms Addon code;
$EditApproval
& "&rdr=" & URLEncode($GenDoc)
------------------------------
Mike Tamoush
------------------------------
MichaelTamoush
5 years agoQrew Captain
I found a thread that explains that to redirect outside of your realm, you need to contact support and have them give you those permissions. I am going to try that and I will report back.
------------------------------
Mike Tamoush
------------------------------
------------------------------
Mike Tamoush
------------------------------
- MichaelTamoush5 years agoQrew CaptainConfirmed. Just needed to have customer support allow for redirects and it works as expected (cannot have the pop up window, but can open in new browser window).
------------------------------
Mike Tamoush
------------------------------