MyoshiaBoykin-A
5 years agoQrew Trainee
Can't get API_GenResultsTable to work
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
------------------------------
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
------------------------------