ToddM
8 years agoQrew Cadet
URL Button to Open New Window
I have a formula URL button that when pressed, creates a child record and refreshes the record, however I need it to then open a new window. Here's what I have thus far:
var text URL = URLRoot() & "db/XXX?act=API_AddRecord" & "&apptoken=XXX"& "&_fid_14=" & URLEncode ([Record ID#])
& "_&_fid_16=" & URLEncode ([Current User Name])
& "_&_fid_17=" & URLEncode ([Current User Email])
& "_&_fid_6=" & URLEncode (Now());
"javascript:" &
"$.get('" &
$URL &
"',() => location.reload(true));"
Going nuts here trying to figure this out for a client. Any help or input would be greatly appreciated and worthy of a Christmas card for life. If I'm unclear, just ask me and I'll answer any questions you have. Thanks!!!
var text URL = URLRoot() & "db/XXX?act=API_AddRecord" & "&apptoken=XXX"& "&_fid_14=" & URLEncode ([Record ID#])
& "_&_fid_16=" & URLEncode ([Current User Name])
& "_&_fid_17=" & URLEncode ([Current User Email])
& "_&_fid_6=" & URLEncode (Now());
"javascript:" &
"$.get('" &
$URL &
"',() => location.reload(true));"
Going nuts here trying to figure this out for a client. Any help or input would be greatly appreciated and worthy of a Christmas card for life. If I'm unclear, just ask me and I'll answer any questions you have. Thanks!!!