I am trying to use a button to "Clock in for day" I am using this formula from the "Employee Scheduling" App. I did change the table and move it into a different app. Now, when I try to click the button, I get an error code about application tokens. How do I supply an application token?
Here is the formula:
If(IsNull([Actual Start Time]),
URLRoot() & "db/" & Dbid() &
"?a=API_EditRecord&rid="& [Record ID#]
& "&_fid_16=" &
URLEncode (Now())
&"&rdr=" & URLEncode(URLRoot()& "db/"
& [_DBID_SCHEDULES] & "?a=dr&rid=" & [Record ID#]),
"javascript:alert('This has already logged in.')")
And here is the error message:
This XML file does not appear to have any style information associated with it. The document tree is shown below.<qdbapi> <action>API_EditRecord</action> <errcode>24</errcode> <errtext>Invalid Application Token</errtext> <errdetail>An Application Token must be supplied.</errdetail> </qdbapi>