Discussions

Expand all | Collapse all

Including JQuery UI Files

  • 1.  Including JQuery UI Files

    Posted 01-17-2018 17:08
    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?


  • 2.  RE: Including JQuery UI Files

    Posted 01-17-2018 21:04
    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.


  • 3.  RE: Including JQuery UI Files

     
    Posted 02-20-2018 02:15
    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">">https://domain.quickbase.com/db/xxxxxxxxx?a=dbpage&pagename=lib-jquery-ui-1-12-1.js%22%3E&_ga=2.85059865.1227593421.1519091479-665412949.1519091479">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