webCOMAND

Content Types Tutorial

This tutorial walks-through the creation of a basic database of United States presidents.  It will also serve as the foundation for subsequent tutorials to create a website and web app.

Watch the video above, or follow the step-by-step instructions below.

Sign In and launch Bases

We will create the database in Content Manager, so first:

  1. Sign In to webCOMAND
  2. Launch Bases

Create "Presidents" Base

To keep things organized, we will create a base to store everything for this project in one place.

  1. Click the New Base button.
  2. Enter the Title "Presidents".
  3. Enter the Description "United States Presidents".
  4. Click Create.

Create "President" Content Type

Now that we have a base for the project, we can create a Content Type and define the fields we will use to store information about each president.

  1. Click "New Type" in the new base.
  2. Enter the Title "President".
  3. Click Create.

Edit "President" Content Type

Now that we have created the content type, we can edit it.

  1. Hover over the new President Content Type and click the gear icon (Edit Type).
  2. On the left, click Fields.
If you are familiar with relational databases, a Content Type is like a table and Fields are like table columns.

FirstName Field Add "Number" Field

  1. Click the Field Chooser (Add Field Button) on the right.
  2. Drag-and-drop the "Number" from the Field Chooser to the form.
  3. Enter the Title "Number".
  4. Click Field Options (Field Options) on the right.
  5. Check "Unique/Key" to indicate this field value must be unique for each president, and can be used to look up a specific president.
  6. Check "Show in Summary" so the Number will display in the summary for each president when displayed in a list and other views.

Add "Name" Field

  1. Click the Field Chooser (Add Field Button) on the right.
  2. Drag-and-drop the "Text Line" from the Field Chooser to the form.
  3. Enter the Title "Name".
  4. Click Field Options (Field Options) on the right.
  5. Check "Show in Summary" so the Name will display in the summary for each president when displayed in a list and other views.

Add "Photo" Field

  1. Click the Field Chooser (Add Field Button) on the right.
  2. Drag-and-drop the "Image Data" from the Field Chooser to the form.
  3. Enter the Title "Photo".
  4. Click Field Options (Field Options) on the right.
  5. Check "Show in Summary" to include a thumbnail of the photo with the Number and Name in List View and other views.

Add President Content Type Icon

We have set up everything we need to for the President content type.  However, we can improve how the content type is represented by adding an icon.

  1. Click "Type" on the left and then select the "Labels & Help" tab.
  2. Upload an image to the Icon field.  The image will be used to represent the content type in Tree View on the left and other views.
  3. Click Approve

Add Presidents

FirstName Field Now that the President content type has been created, we can add a few presidents.

  1. Click the "Presidents" on the left.
  2. Click New (New Menu) in the right panel's toolbar.
  3. Enter president information for a president and upload a photo.
  4. Click Approve.
  5. Click the New Button (New Option) on the right of the Object Toolbar and repeat steps 4-6 for an additional president.

Conclusion

We now have a simple database of a few United States presidents.  We will import more presidents next.