Forum Discussion

RebekahAlcantar's avatar
RebekahAlcantar
Qrew Trainee
8 years ago

Table Report as an HTML / JavaScript Display

I need to be able to create an html script to display a quickbase table report in a web page.
How would I go about doing this?
  • I created the following code but I am getting an error that says:
    Bad Sign-In Ticket Your ticket was not formatted correctly

    I masked my application token and replaced the example below with ticket=1234
    I masked my domain and replaced the example below with domain.quickbase.com

    <html>

    <head>
    <script lang="javascript" src="https://domain.quickbase.com/db/bj73kdqps?a=API_GenResultsTable&qid=28&jht=1&ticket=1234 ">
    </script>

    <style>
        body {
            color: #5e5e5e;
            font: 13px "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
        }
    </style>
    </head>

    <body>
    <script lang="javascript">
    qdbWrite();
    </script>
    </body>

    </html>            
               
    • GauravSharma3's avatar
      GauravSharma3
      Qrew Commander
      Hi Rebekah,

      It looks like you have used application token in the ticket parameter. You can only use a valid ticket which you can get via the API_Authenticate call or username and password or a valid user token in the ticket parameter. or if your app requires app token then, you have to use the apptoken parameter.

      Thanks,

      Gaurav