ChristineWhite
5 years agoQrew Assistant Captain
1 Button to update fields in two apps
I successfully created a button that updates fields in App2 from App1 but am wondering if I can also use this same button to update fields in App1. i.e. can a 2nd URLRoot statement be added to this for App1?
Thanks!
var text URL = URLRoot() & "db/" & "App2ID" & "?act=API_EditRecord&rid=" & [App2Record ID]
& "&_fid_994=" & Now()
& "&_fid_992=Note from " & UserToName(User())
& "&apptoken=xxxxxxxxxxxxxxx";
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"location.reload();"&
"});" &
"void(0);"
------------------------------
Christine White
------------------------------
Thanks!
var text URL = URLRoot() & "db/" & "App2ID" & "?act=API_EditRecord&rid=" & [App2Record ID]
& "&_fid_994=" & Now()
& "&_fid_992=Note from " & UserToName(User())
& "&apptoken=xxxxxxxxxxxxxxx";
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"location.reload();"&
"});" &
"void(0);"
------------------------------
Christine White
------------------------------