Forum Discussion

SeanSean's avatar
SeanSean
Qrew Trainee
11 years ago

Embed Custom HTML

Hi -

I have created a time sheet entry tool using HTML and java script and am wondering, would it be possible to embed this on the main quick base site either on a form or a report. At the minute it is set up as another HTML page.

Ideally all the functionality of the main site would remain with the HTML page showing within.

Has anyone done anything like this or know if it is possible?

Thanks in advance!

Sean

20 Replies

  • Very quickly implemented, here is a demo a Subdatasheet (terminology from Access feature) where you can click on the +/- button and show/hide the related child records:

    Subdatasheet ~ List All Report (click on +/- sign in first data column to show/hide child records)
    https://haversineconsulting.quickbase.com/db/bmnf7nrvf?a=td
     
    Pastie Databsase
    https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=564

    I have no idea what you HTML page does but your HTML can be inserted into the report using similar techniques using jQuery.

    If you need individual assistance implementing this solution fee free to contact me off-world using the information in my profile:

    https://getsatisfaction.com/people/dandiebolt
    • BradElmore's avatar
      BradElmore
      Qrew Assistant Captain
      Dan,

      If I wanted to insert a report (qid) that I have already created (example List All = qid=1 instead of using a clist -- is this possible? 
    • ScottMarks's avatar
      ScottMarks
      Qrew Member
      Howdy Dan,

      This is grave digging a little bit, but I had a slight issue implementing this.

      I utilize this in my company to show child records for an order- Basically a glance at the order w/o fully opening it.  Works great without doing anything special.

      However, if I filter the orders table for a specific customer and then try to open the subtable to preview the order- no dice!  I've tested it on your specific setup by utilizing the sidebar filters and came up with the same issue.

      Scott
  • MichaelGraham2's avatar
    MichaelGraham2
    Qrew Assistant Captain
    Would it be possible to use this "Embed Custom HTML" solution in an embedded report on a form which has its own child records?  

    I have it working on the main report, but when I embed that report on a form of another table, it doesn't work.
  • Yes it would be possible but the code would be slightly different, Basically you can do anything you want with script but it will certainly stop working at some time in the future as it relies on a random characteristics of the QuidkBase authored page - they will certainly change it over time.
    • ChyanneEyde's avatar
      ChyanneEyde
      Qrew Trainee
      For anyone interested in more opportunities to use HTML in apps - consider upvoting my request to QuickBase to allow for HTML in report descriptions: https://feedback.quickbase.com/app/#/case/141736?expires=1645443785&signature=52badc31ec79ec212b38&url=case%2F141736&user=18936067

      Right now reports can only be manually typed from report settings - it would be great for users and admin to allow for formatting of those descriptions (EX: bolding to emphasize some text) and, ideally, to allow an Admin to point to an HTML code page for report descriptions. I have many reports that are very similar, it would be great to be able to update their descriptions in one place.

      ------------------------------
      Chyanne
      ------------------------------