Discussions

Expand all | Collapse all

Table Report as an HTML / JavaScript Display

  • 1.  Table Report as an HTML / JavaScript Display

    Posted 02-23-2018 22:32
    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?


  • 2.  RE: Table Report as an HTML / JavaScript Display

    Posted 02-23-2018 22:50
    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>            
               


  • 3.  RE: Table Report as an HTML / JavaScript Display

    Posted 02-24-2018 12:39
    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