Skip to main content
Question

Button Error

  • Nov 25, 2019 8:29 PM UTC
  • 1 reply
  • 23 views

Forum|alt.badge.img+11
I have a button that creates two tasks and it is generating an error that the page is not found....  Not sure where my error is so help is appreciated!

var text URLONE = URLRoot() & "db/" & [_DBID_TASKS] & "?a=API_AddRecord" &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_6=" & URLEncode("Provide Fee Estimator for Fancy Design Proposal") &
"&_fid_8=" & URLEncode(Today()) &
"&_fid_9=" & WeekdayAdd(Today(),1) &
"&_fid_12=" & [Record ID#] &
"&_fid_21=" & [Project] &
"&_fid_23=" & "Opportunity" &
"&_fid_28=" & "Opportunity" &
"&_fid_52=" & URLEncode(ToUser("mmattera@elitestudioe.com"));

var text URLTWO = URLRoot() & "db/" & [_DBID_TASKS] & "?a=API_GenAddRecordForm" &
"&_fid_6=" & URLEncode("Create Fancy Design Proposal") &
"&_fid_8=" & URLEncode(Today()) &
"&_fid_12=" & [Record ID#] &
"&_fid_21=" & [Project] &
"&_fid_23=" & "Opportunity" &
"&_fid_28=" & "Opportunity" &
"&_fid_52=" & URLEncode(ToUser("mweiss@elitestudioe.com"));

var text REDIRECT = "&z=" & Rurl();

var text URL = $URLONE & "&rdr=" & URLEncode($URLTWO) & URLEncode("&rdr=" & URLEncode($REDIRECT));

$URL

------------------------------
Ivan Weiss
------------------------------
This topic has been closed for replies.

1 reply

Forum|alt.badge.img+11
  • Author
  • Qrew Corporal
  • Nov 25, 2019 8:46 PM UTC
Disregard, I sorted it out!  i forgot to take out the &rdr at the end when I copied my code!

------------------------------
Ivan Weiss
------------------------------