I have a function URL button that first does a save of my record and then is triggering a mailto URL call. I cannot have the system send the email as we want it from the user AND they have to add an attachment that is not within Quickbase.
What happens though with a mailto is it ends on a blank screen. I've tried to add a 3rd rdr (see below) but it never gets executed. Any thoughts on how to either close the window (if I open in a new tab) OR to at least do a redirect on the original tab so I can just train them to close the blank window?
var text URLONE = URLRoot() & "db/" &Dbid()& "?a=API_EditRecord" &
"&rid=" & [Call ID#]&
"&apptoken=dkd26r6bx8rtbvb7jgewkbbxeb7b"&
"&_fid_86=Complete";
var text URLTWO = "mailto:" & [Pharma Start Email] & "?subject=Visit for subject " & [Subject ID] & "&body=This is a test. Please enter text from Darcy here%0A%0AThe original call notes are: " & URLEncode([Progress Notes]) & "%0A%0AAttach the POF file%0A%0AClick this link to enter the visit schedule details " & URLEncode([Link to Schedule Visit by nurse]) & "%0A%0AClick this link after the visit to enter the visit details " & URLEncode([Link to update call by nurse]);
$URLONE & "&rdr=" & URLEncode($URLTWO) & URLEncode(URLRoot() & "db/" & Dbid())
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.