Skip to main content
Question

Removing Javascript Screen Refresh from URL Formula Fields

  • April 19, 2021
  • 0 replies
  • 62 views

Forum|alt.badge.img+6
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
------------------------------
This topic has been closed for replies.

@Mark Corcoran

Quickbase just added a new URL parameter that allows you to emulate this functionality. Here is a blog post that references it.​



------------------------------
Justin Torrence
Quickbase Expert, Jaybird Technologies
jtorrence@jaybirdtechnologies.com
https://www.jaybirdtechnologies.com/#community-post
------------------------------