QuickBase API Cookbook v3 - Recipe #50
Display a more readable version of QuickBase responses
display print XML
QuickBase responds to requests by sending you XML. You need a slightly more readable version of this data to look at, probably for debugging or development purposes.
require 'QuickBaseClient'

qbc = QuickBase::Client.new("username","password")

qbc.getSchema(qbc.findDBByname("Application Library"))

qbc.printChildElements(qbc.qdbapi)

=begin

 :
 qdbapi :
  action  = API_getSchema
  errcode  = 0
  errtext  = No error
  table :
   name  = Application Library
   desc  = This QuickBase contains user and QuickBase created applications that can be used by any customer of QuickBase.
   original :
    table_id  = bbtt9cjr6
    cre_date  = 1152727983612
    mod_date  = 1171485722502
    next_record_id  = 1
    next_field_id  = 12
    next_query_id  = 5
    def_sort_fid  = 6
    def_sort_order  = 0
   chdbids :
    chdbid (name=_dbid_applications ) = bbtt9cjr7
    chdbid (name=_dbid_versions ) = bbtt9cjr8
    chdbid (name=_dbid_documents ) = bbtt9cjr9
    chdbid (name=_dbid_reviews ) = bbtt9cjsc
    chdbid (name=_dbid_installs_requests ) = bbvw9jb72
    chdbid (name=_dbid_feedback ) = bbt4qb5gr
    chdbid (name=_dbid_featured_apps ) = bbt9vg4u5
    chdbid (name=_dbid_categories ) = bbtt9cjsg
   lastluserid  = 0
   queries :
    query (id=1 ):
     qyname  = List All
     qytype  = table
     qycrit  = {0.CT.''}
     qycalst  = 0.0
    query (id=2 ):
     qyname  = List Changes
     qytype  = table
     qydesc  = Sorted by Date Modified
     qycrit  = {0.CT.''}
     qyopts  = so-D.onlynew.
     qycalst  = 0.0
   fields  =

=end
printChildElements.rb
One-Click Ruby Installer for Windows Ruby wrapper for QuickBase HTTP API
Created on Feb. 14, 2007 at  9:31 PM (PST). Last updated by Quick Base on Feb. 14, 2007 at  9:43 PM (PST). Owned by Quick Base.
Quick Base
Quick Base
Show fields from Show fields from Show fields from a related table
Report Name *
Description
Reports and Charts Panel
Each table has a panel listing its reports and charts, organized in groups.
Please wait while your new report is saved...
Field label
Column heading override
Justification
What does auto mean?
Fields in:

Fields to Extract:

Name for the new table:
Items in the new table are called:

When you bring additional fields into a conversion, Quickbase often finds inconsistencies. For example, say you're converting your Companies column into its own table. One company, Acme Corporation, has offices in New York, Dallas and Portland. So, when you add the City column to the conversion, Quickbase finds three different locations for Acme. A single value in the column you're converting can only match one value in any additional field. Quickbase needs you to clean up the extra cities before it can create your new table. To do so, you have one of two choices:

  • If you want to create three separate Acme records (Acme-New York, Acme-Dallas and Acme-Portland) click the Conform link at the top of the column.
  • If the dissimilar entries are mistakes (say Acme only has one office in New York and the other locations are data-entry errors) go back into your table and correct the inconsistencies—in this case, changing all locations to New York. Then try the conversion again.

Read more about converting a column into a table.

We're glad you're interested in doing more with Quickbase!

Now we need to make you official before you share apps or manage your account.

Verifying your email lets you share Quickbase with others in your company.

Your work email
Your company