Create custom objects and fields in the Skedulo Pulse Platform

How to add custom objects to meet your use case requirements.

Skedulo Pulse Platform customers can create custom objects and fields directly in the Skedulo web application. This automatically maps the objects and fields to your GraphQL schema so that you can easily create queries and mutations for use in web extensions or remote querying.

Note that custom objects and fields in Skedulo for Salesforce must first be created in Salesforce and then mapped in the Skedulo web app. See Creating custom objects in Salesforce for more information.

Create a custom object

The instructions below use hypothetical Vaccine and Supply objects to demonstrate the steps involved in creating objects and fields.

To create a custom object, do the following in the Skedulo web application:

  1. Click your user profile in the upper-right corner, then select Settings > Data management > Objects & fields.

  2. Click Create custom object.

  3. Provide an Object label, Object name (this must be unique in the system), and Object description. In this example, we are creating the Vaccine object:

    Custom object modal
  4. Click Create. The object is created and added to the list of objects on the Objects and fields page.

Create custom fields

All objects that are created in the web app have a UID field that is unique for each record created. In this example we are creating a custom Name field on the Vaccine custom object and a field to link the Vaccine to the Job object. By doing this, we are making it possible for named vaccines that are administered to be associated with specific jobs. For more information about how fields that link objects together work, see .

  1. In Settings > Objects and Fields, locate and click your new custom object’s name.

  2. On the object details screen, click Add custom field. The Create Custom Field wizard displays.

  3. Select the Text field type and then click Next.

    Create custom text field
  4. Complete the required information for the Name custom field, then click Create.

    Create custom name field
  5. Create another custom field and select Lookup for the field type on the first page of the wizard, then click Next.

  6. Enter Job into the Field label and Field name fields.

  7. From the Object dropdown list, select Jobs as the object for which you are creating the lookup relationship.

  8. Select the display settings you want, then click Create.

    Create custom field

Additional fields can be added depending on what makes sense for your use case. In this example, Brand and Number of doses could also be added.

Note that additional configuration is required if you want the custom fields to appear in a list view. For more information on how to do that, see the list view documentation.

Create additional objects to capture complexity in your use case

This example can be extended to create another custom object that has a lookup relationship with our Vaccine object. In this scenario, it could make sense to create a Supply object that provides information on the availability of a specific vaccine at a job site.

To create a Supply object and link it to the Vaccine object, do the following:

  1. On the Objects and fields page, click Create custom object.
  2. Create the Supply object using the following information:
  • Object label: Vaccine supply
  • Object name: Supply
  • Object description: Availability of a vaccine at a specific site Click Create.
  1. As before, select the Supply object from the list of objects on the Objects and fields page and click Create custom field.
  2. Select the Text field type, then click Next.
  3. Enter Name into the Field label and Field name fields.
  4. Create another custom field for the Supply object with the Lookup relationship field type.
  5. Enter Vaccine into the Field label and Field name fields.
  6. From the Objects dropdown list, select Vaccine as the object for which you are creating the lookup relationship.
  7. Select the display settings you want, then click Create.

Any other fields that are required can be added; in this example Current stock and Date of stock count could also been added.

These objects are now part of your team’s data model and can be used in web extensions to provide custom functionality for your use case.