IvanWeiss
6 years agoQrew Captain
XML view after button press
The following code is generating a view of the XML results in lieu of the actual redirect. What did I screw up here lol
//Trigger Automation to Import Estimating Tasks
var text UrlImportEstimating = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Project Number] &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_173=true" &
"&_fid_94=" & URLEncode("The estimating tasks have been imported from the template.") &
"&rdr=" & URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Project Number];
var text ButtonImportEstimating="<a class='" & [EliteButtonClass] & $STYLE & "href='" & $UrlImportEstimating & "'" & ">Import Estimating Tasks</a>";
//----------------------------------------------------------------------------------------
------------------------------
Ivan Weiss
------------------------------
//Trigger Automation to Import Estimating Tasks
var text UrlImportEstimating = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Project Number] &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_173=true" &
"&_fid_94=" & URLEncode("The estimating tasks have been imported from the template.") &
"&rdr=" & URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Project Number];
var text ButtonImportEstimating="<a class='" & [EliteButtonClass] & $STYLE & "href='" & $UrlImportEstimating & "'" & ">Import Estimating Tasks</a>";
//----------------------------------------------------------------------------------------
------------------------------
Ivan Weiss
------------------------------