Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
OK, fix this
var text URL= URLRoot() & "db/" & dbid() & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_50=" & "Approved"
& "&apptoken=" & "XXXX";
loose the bracket after approved.
I suggest that you go to the Properties for the Application and turn off "Require Application Tokens."
Then you can just do this
var text URL= URLRoot() & "db/" & dbid() & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_50=" & "Approved";
(you still need the rest of the code though - that javascript stuff
var text URL= URLRoot() & "db/" & dbid() & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_50=" & "Approved"
& "&apptoken=" & "XXXX";
loose the bracket after approved.
I suggest that you go to the Properties for the Application and turn off "Require Application Tokens."
Then you can just do this
var text URL= URLRoot() & "db/" & dbid() & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_50=" & "Approved";
(you still need the rest of the code though - that javascript stuff