MarkCorcoran
5 years agoQrew Cadet
Removing Javascript Screen Refresh from URL Formula Fields
I started my Quick Base app years ago, and the best way (at that time) to do a screen refresh was with this nifty snipped of javascript (which I know nothing about).
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);
It has worked great over the years, but now Quick Base is no longer going to support javascript in URL Formula fields. My question is how do I get the same functionality? Am I supposed to create a code page with just this snippet on it and call it from the formula field? - I've never created a code page (never had too) - so calling one is new to me as well.. Is there a better way to do the refresh? - actually if it just refreshed the child records (embedded report) that would be even better.
Basically I have an embedded report (ie.. invoice line items - child records).. and each line item has a button to "copy" or "delete" the line item, then refresh so it is displayed on the screen.
Thanks for any help or insight on how I can keep my line item buttons working.
Mark
------------------------------
Mark Corcoran
------------------------------
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);
It has worked great over the years, but now Quick Base is no longer going to support javascript in URL Formula fields. My question is how do I get the same functionality? Am I supposed to create a code page with just this snippet on it and call it from the formula field? - I've never created a code page (never had too) - so calling one is new to me as well.. Is there a better way to do the refresh? - actually if it just refreshed the child records (embedded report) that would be even better.
Basically I have an embedded report (ie.. invoice line items - child records).. and each line item has a button to "copy" or "delete" the line item, then refresh so it is displayed on the screen.
Thanks for any help or insight on how I can keep my line item buttons working.
Mark
------------------------------
Mark Corcoran
------------------------------