Skip to main content
Question

Can't get API_GenResultsTable to work


Forum|alt.badge.img+3
I am very new to QB (only one month).  I've created a new table and I have a few table reports.  One of them is a simple query and I am trying to display the results on a web page.  I am trying to get this API call to work using the following HTML code.  Not sure what I'm doing wrong, but all I get is the green box that says "A Quick Base table embedded in a
page of HTML"
:

<html>
<head>
<script lang="javascript" src="my domain and table?a=API_GenResultsTable
&ticket=my new app token
&qid=6&jht=1">
</script>
<style>
td.m { font-family:verdana; font-size:70%; }
td.hd { font-family:verdana; font-size:70%; font-weight:bold;
color:white;}
</style>
</head>
<body>
<h1>Example</h1>
<table cellpadding=5 bgcolor=lightgreen>
<tr>
<td valign=top nowrap><b>A Quick Base table<br>embedded in
a<br>page of HTML
</td>
<td>
<script lang="javascript">
qdbWrite();
</script>
</td>
</tr>
</table>
</body>
</head>
</html>

------------------------------
Myoshia Boykin-Anderson
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+11
  • Quickbase Staff
  • August 20, 2020
Hi - where is your webpage? And is this code on a server or all client side? In general, the suggested methodology for this moving forward will be using our new RESTful APIs and using the response to design your own HTML. We have found that is more successful for people over the years.

------------------------------
Harrison Hersch
------------------------------