Creating code pages

This topic refers to functionality that is not available to accounts on the Quick Base Essential plan. If the functionality described here does not match what you're seeing in Quick Base, your account is probably on this plan.

Say you need to have some notes on the project scope available for everyone on your staff. Sure, you could attach a document to a record, but maybe you'd like to make the document more prominent. Or, perhaps you're enhancing your Quick Base application with XSL stylesheets and need a place to store them.

In this situation, try adding a code (text) page to your application. Code pages are simple text documents that you can use to construct HTML, XSL, XML or CSS documents and add them to your application. Users access a code page by clicking a button you create on the Home page (read how to customize the Home page).

Tip: If you're not an HTML expert, you can create a Quick Base rich text page instead of a code page. Rich text pages are like text pages, but you make them with an editor. Read more.

You can also include an image in a text page (read how).

To create a code page:
  1. Open an app, then click Settings on the Page bar, then click above Pages.

  2. Select Code Page, then click Create.

    Quick Base displays a large text box in which you can compose your page.

  3. Name your page. Include the file extension in the page name.

    Include the appropriate file extension in your page name (.html, .xsl, etc.).  If you do not include the file extension, Quick Base displays the page as plain text.  You should use a name without spaces or other characters that are problematic in URLs. Stick to letters, numbers, underscores and hyphens.

  4. Write the page.

    In the large blank text box, enter or paste the content you want.

  5. When you're finished editing, click Save on the Page bar to return to the Pages list.

To view your code at a certain size or font:
  • Perhaps you like to view your code at a certain size or font. Quick Base offers some control over display.

    The buttons above the page let you control font style and size.

    You can display the code in a variable font instead. A mono-spaced font gives each character the same amount of space. A variable font squeezes letters together where it can, and usually makes for easier reading.

    To change the font display, use the buttons to the right of the Page Name box.

  • Advanced uses of text pages

    You can use text pages to store XSL / XSLT style sheets. You can then display a report or record using your XSL styles. (You do so by setting output format options within the Report Builder. See Creating a Table report.)

    Related topics: