Including JQuery UI Files

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • In Progress
Hello,

 I am trying to include a simple date picker pop up before a report to generate data from a specific date range. I am trying to use JQuery UI but cannot seem to reference it correctly or maybe have not stored it in the correct place. Anyone that has used Jquery UI in quickbase have any ideas?
Photo of William Marrone

William Marrone

  • 310 Points 250 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of William Marrone

William Marrone

  • 310 Points 250 badge 2x thumb
Guess I should further clarify, I am currently using Javascript to grab data from three different Quick Base Apps and aggregate them together into a HTML Window using tables to create a daily report. I want to make a datetimepicker to prompt users instead of them typing in Dates. I do not know how to use Jquery UI in relation to Quick Base.
Photo of Rob White IV

Rob White IV

  • 1,070 Points 1k badge 2x thumb
Hi William,

I don't know if I can help, but I'll take a shot.

You have to remember that QuickBase is a 'no-code' platform, so they are actively trying to remove concerns like package management.  However; most nerds, like myself, still want to be able to do the cool things you speak of.

So, the method I've found to deal with this is to simply create a code page called something like 'lib-<my-include>.js ('lib-jquery-ui-1-12-1.js') and paste the distributable code into it.  Then you can reference it in your other html code page like this... 

<script src="https://domain.quickbase.com/db/xxxxxxxxx?a=dbpage&pagename=lib-jquery-ui-1-12-1.js"></script>

This, of course, also works with a cdn or similar.

Hope this helps..

~Rob  
(Edited)