Reply to comment

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

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

where mycompany is your account URL, dddddddd is the database ID and n is the record ID for the record that you want to embed.

Next you'll need to open your application up to the group "Everyone on the Internet". If you're not familiar with this group, our Share an Application with Everyone on the Internet help topic explains how to open an application up to the public. Be aware that you do not have to open the entire application up to the group "Everyone on the Internet", only those tables whose data you are trying to display.

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://mycompany.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 (To learn more about tokens, please see our Application Tokens help topic).

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.

© 1997-2014 Intuit Inc. All Rights Reserved.

Online Database VeriSign Secured Web Based Software TRUSTe Certification Online Database SSAE Audit