Table Report as an HTML / JavaScript Display

  • 0
  • 1
  • Question
  • Updated 9 months ago
  • Answered
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?
Photo of Rebekah Alcantar

Rebekah Alcantar

  • 140 Points 100 badge 2x thumb

Posted 9 months ago

  • 0
  • 1
Photo of Rebekah Alcantar

Rebekah Alcantar

  • 140 Points 100 badge 2x thumb
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>            
           
Photo of Gaurav Sharma

Gaurav Sharma

  • 5,668 Points 5k badge 2x thumb
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
(Edited)