Skip to main content
Question

JS code in the URL formula field

  • August 23, 2021
  • 0 replies
  • 154 views

Hey,
There are several URL formula fields in my application. They were created a couple of weeks ago and work great.
Today I was surprised that QuickBase no longer allows me to edit them.
How to solve this problem?



------------------------------
Andrew S
------------------------------
This topic has been closed for replies.

  • Quickbase Alumni
  • August 23, 2021
By replacing the JavaScript with something else or leaving it be and letting it work. They no longer support JavaScript unless it is in a code page. You can explore code pages or service workers for an alternative. Service workers would be the more powerful one that would be able to make some of the same changes as you do now.

For your exact formula here you are just making it reload the page which there is already a replacement for.

https://community.quickbase.com/blogs/evan-martinez1/2021/07/09/alternatives-to-common-javascript-insertion-techni?CommunityKey=d860b0f8-6a48-487b-b346-44c47a19a804&tab=recentcommunityblogsdashboard

https://community.quickbase.com/blogs/evan-martinez1/2021/07/15/javascript-upcoming-formula-rich-text-field-change?CommunityKey=d860b0f8-6a48-487b-b346-44c47a19a804&tab=recentcommunityblogsdashboard

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • August 23, 2021
There is simple native replacement for what that URL formula is doing. Please post the code by copy paste and we can help you.

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------