Forum Discussion

NarayananKumbak's avatar
NarayananKumbak
Qrew Cadet
4 years ago

URL button to run Javascript code page

Hello,

I have URL formula buttons to run Javascript code pages. Is this feature going to be discontinued? If so, what is the best way of implementing it which is acceptable to QuickBase? Here is a sample URL button formula to run a page.
"javascript:" &
"QBU_ProjectID=" & [Project ID] & ";" &
"var urlJs = 'https://xxxx.quickbase.com/db/" & Dbid() & "?a=dbpage&pagename=DataProcess.js';" &
"$.getScript(urlJs, function(){});"

------------------------------
NK23 NK23
------------------------------
    • Admin_JoshuaWoo's avatar
      Admin_JoshuaWoo
      Qrew Member
      unless I'm missing something none of these examples give an example of referencing a specific .js code page?


      ------------------------------
      Admin Joshua Wooten
      ------------------------------
      • AdamKeever1's avatar
        AdamKeever1
        Qrew Commander
        from here select "Get Started with Examples"

        then scroll to the bottom of the form and select this button:

        Here is the example given for referencing a js script source:

        You can also add a js page to your Quickbase app and reference it.

        ------------------------------
        Adam Keever
        ------------------------------