302 Found

Found

The document has moved here.

Reply to comment

1. In the HEAD section of your Web page, add the following <script> block:

<script lang="javascript" src="https://www.quickbase.com/db/dddddddd?a=API_GetRecordAsHTML&rid=n&jht=1">
</script>

where dddddddd is the database ID and n is the record ID for the record that you want to embed.

If your web page and the corresponding QuickBase is not open for viewing to "Everyone on the Internet", please create a new QuickBase account for this purpose and assign it "View Any Record" access to the application in question.

Then pass the username and password credentials of this new account as additional parameters:

<script lang="javascript" src="https://www.quickbase.com/db/dddddddd?a=API_GenResultsTable&qid=n&jht=1&username=viewonly&password=secret">
</script>

2. In the HEAD section of your Web page, add the following style information:

<style>
td.m { font-family:verdana; font-size:70%; }
td.hd { font-family:verdana; font-size:70%; font-weight:bold; color:white; }
</style>

By changing the attributes of these CSS tags, you can modify the format of the resulting table.

3. In the area of your Web page where you want the HTML table to display, add the following JavaScript code:

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

--------------------------------------

Here's a more complete example:

<html>
<head>

<script lang="javascript" src="https://www.quickbase.com/db/5rh82jcq?a=API_GetRecordAsHTML&rid=5&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 QuickBase table<br>embedded in a<br>page of HTML</td>
<td>
<script lang="javascript">
qdbWrite();
</script>
</td>
</tr>
</table>

</body>
</head>
</html>

NOTE: QuickBase recommends that you use application tokens when working with API calls (read more about tokens at https://www.quickbase.com/help/app_tokens.html).

Reply

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
302 Found

Found

The document has moved here.