Create an object and add custom fields

This article covers how to create the Arcade Games custom object and set up some custom fields.

For this example, we need to first create the Arcade Games custom object and then create some custom fields so we can enter some data.

Create the Arcade Games object

To create the custom Arcade Games object in the Skedulo Pulse Platform:

  1. Navigate to Settings > Data management > Objects & fields.

  2. On the Objects & fields page, click Create custom object to display the Create Custom Object modal.

  3. Enter a label, name, and description for your object. In this example, we want to be able to keep track of our stock of arcade game machines, so we will enter the following:

    • Object label: Arcade Games
    • Object name: ArcadeGames
    • Object description: Arcade game machines in stock.
  4. Click Create. The new Arcade Games object is created and can now be found on the Objects & fields page.

In addition to this, a set of default page templates and config files are created. For this example, the page templates we are interested in are the -create, -edit, -view, and -list templates. They can be accessed from the Settings > Developer tools > Platform settings (beta) page, but before we do that, we should add some custom fields to the object.

Add custom fields to the Arcade Games object

Add custom fields to your object so that you can record the required data.

  1. Navigate to Settings > Data management > Objects & fields.
  2. On the Objects & fields page, click Arcade Games to open the custom object’s page. Arcade games object page
  3. Click Add custom field to display the Create Custom Field modal.
  4. Select Text and click Next.
  5. Complete the required information. In this example, we will enter the following for the first field:
    • Field label: Make
    • Field name: make
    • Description (optional): Enter the machine’s make
    • Field length: 255
  6. Select the Display settings for the field.
  7. Click Create. The custom field is added to the Arcade Games object page. arcade games object page one field added
  8. Add the rest of your fields. You can add as many as are required and choose between ten different field types. The order in which you add them is not important as this can be changed when we configure the pages later.

For the Arcade Games example, we will add the following fields:

Field label Field name Field type Details
Make make Text
Cost per day costperday Number
Name name Text
Category category Picklist (with multi-select) Add options to categorise the games, such as: First-person shooter, Sports simulation, Driving simulation.
Style style Picklist Add options to define the style of the machine, such as: Cockpit arcade machine, Freestanding cabinet arcade machine, Bartop arcade machine.
Maintenance due maintenancedue Date
Status status Picklist Add options to define the status of the machine, such as: Available, Rented, Needs repair.
Repair history repairhistory Text area
Last seen by lastseenby Text
Theme theme Text
Image imageurl Text
ID number Id Text
Lookup lookup Lookup relationship
Web page linkurl Text

On the default arcade-games-create template, these fields will render as follows:

Create page before customization

To change the order in which the fields appear and the way in which they’re set out on the page, you can override the default Create record page template.