Forum Discussion
QuickBaseCoachD
7 years agoQrew Captain
Here is an example. You will need to disable the need for app tokens or else add a line to the code like
& "&apptoken=xxxxxxxxxx"
var datetime SnoozeUntil = ToTimestamp(Today() + Days(1), ToTimeOfDay("0:00"));
var text URL = URLRoot() & "db/" & [_DBID_DEALLOCATION_CANDIDATES] & "?act=API_EditRecord"
& "&rid=" & [Record ID#]
& "&apptoken=xxxxxxxxxx"
& "&_fid_415=" & ToText($SnoozeUntil)
& "&_fid_416=" & ToText(Now()); // set the date/time so we know if the line existed when snoozed
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"$.jGrowl('put your pop up words here', {life: 5000, theme: 'jGrowl-green'});" &
"});" &
"void(0);
& "&apptoken=xxxxxxxxxx"
var datetime SnoozeUntil = ToTimestamp(Today() + Days(1), ToTimeOfDay("0:00"));
var text URL = URLRoot() & "db/" & [_DBID_DEALLOCATION_CANDIDATES] & "?act=API_EditRecord"
& "&rid=" & [Record ID#]
& "&apptoken=xxxxxxxxxx"
& "&_fid_415=" & ToText($SnoozeUntil)
& "&_fid_416=" & ToText(Now()); // set the date/time so we know if the line existed when snoozed
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"$.jGrowl('put your pop up words here', {life: 5000, theme: 'jGrowl-green'});" &
"});" &
"void(0);