Forum Discussion
QuickBaseCoachD
8 years agoQrew Captain
Jordan, your original method was correct and will work.
The problem is here
var text URLTHREE = URLRoot() & "db/" & Dbid() & "a=dr&rid" & [Record ID#];
it needs to say .... & "a=dr&rid=" & [Record ID#];
Missing the = after rid
The problem is here
var text URLTHREE = URLRoot() & "db/" & Dbid() & "a=dr&rid" & [Record ID#];
it needs to say .... & "a=dr&rid=" & [Record ID#];
Missing the = after rid
JordanBeatty1
8 years agoQrew Captain
I think the issue I'm having now is nesting. I had expanded it to:
var date RightNow = Today();
var text Close = "CLOSED";
var text URLONE = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord"
& "&rid=" & [Record ID#]
& "&_fid_18=" & $Close
& "&_fid_23=" & $RightNow;
var text URLTWO = URLRoot() & "db/" & [_DBID_ACTIVITY_LOG_DAVE] & "?a=API_AddRecord"
& "&_fid_47=" &URLEncode ([Record ID#])
& "&_fid_50=" &URLEncode([Company Name (ref)])
& "&_fid_97=" &URLEncode(8)
& "&_fid_31=" &URLEncode([Now])
& "&_fid_22=" &URLEncode("Stuff)
& "&_fid_11=" &URLEncode("More Stuff")
& "&_fid_12=" &URLEncode("0.05")
& "&_fid_13=" &URLEncode("False");
var text URLTHREE = URLRoot() & "db/" & [_DBID_TASKS] & "?a=API_AddRecord"
& "&_fid_36=" &URLEncode ([Record ID#])
& "&_fid_39=" &URLEncode([Company Name (ref)])
& "&_fid_14=" &URLEncode([Current User])
& "&_fid_19=" &URLEncode([Associated Admin])
& "&_fid_8=" &URLEncode([Today])
& "&_fid_121=" &URLEncode("False")
& "&_fid_7=" &URLEncode("Lots of Stuff");
var text URLFOUR = URLRoot() & "db/" & Dbid() & "a=dr&rid=" & [Record ID#];
$URLONE
&"&rdr="&URLEncode($URLTWO)
&URLEncode("&rdr="&URLEncode($URLTHREE))
&URLEncode("&rdr="&URLEncode("&rdr="&URLEncode($URLFOUR)))
Though, I am still ending up the XML post. Did I nest this incorrectly?