Forum Discussion
RebeccaL
7 years agoQrew Cadet
I see what you are saying, thanks. Now the popup is working and it creates the record in IRR but the record is not connected to the ticker (parent record)
This is what I have:
var datetime SnoozeUntil = ToTimestamp(Today() + Days(1), ToTimeOfDay("0:00"));
var text URL = URLRoot() & "db/" & [_DBID_IRR] & "?act=API_AddRecord"
& "&rid=" & [Record ID#]
& "&apptoken=qqj2k7wz..."
& "&_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('Record Added', {life: 5000, theme: 'jGrowl-green'});" &
"});" &
"void(0);
This is what I have:
var datetime SnoozeUntil = ToTimestamp(Today() + Days(1), ToTimeOfDay("0:00"));
var text URL = URLRoot() & "db/" & [_DBID_IRR] & "?act=API_AddRecord"
& "&rid=" & [Record ID#]
& "&apptoken=qqj2k7wz..."
& "&_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('Record Added', {life: 5000, theme: 'jGrowl-green'});" &
"});" &
"void(0);