Forum Discussion
BlakeHarrison
5 years agoQrew Captain
With EF+, generally speaking, I would not recommend futzing with the button unless you really know what you're doing. If you are comfortable with it, however, you would probably need to change the script to include your Edit call first.
With that said, what are you trying to accomplish with the Edit call?
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
With that said, what are you trying to accomplish with the Edit call?
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
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
------------------------------
- MichaelTamoush5 years agoQrew CaptainI 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
------------------------------- 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
------------------------------