Skip to main content

Authoring a Data Model and associated Views using App Studio

3 Tasks

1 hr

Pega Platform '24.2
Visible to: All users
Advanced
Pega Platform '24.2
English

Scenario

In the context of candidate recruitment, create a data object and develop the views that are linked to it.

Creating Data Models and connecting Views by using App Studio is essential for developing applications in Pega Platform™.

The following table provides the credentials you need to complete the challenge:

Role User name Password
Admin Admin@CLSAByte  rules

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Adding a data object and fields

  1. In the Pega Platform instance for the challenge, enter the following credentials:
    1. In the User name field, enter admin@CLSAByte.
    2. In the Password field, enter rules.
  2. In the header of Dev Studio, click Dev Studio > App Studio. 
  3. In the navigation pane of App Studio, click Data.
  4. Click New.
Adding new data type.
  1. In the  Create Data Object dialog box, configure the following details:
    1. In the Data Object name filed, enter Job Location.
    2. In the Define source data section, accept the default settings.
    3. Click Next.
Create new data object.
  1. In the Connection details section, accept the default settings.
Data source connection details.
  1. Click Submit.
Job Location data object.
  1. Add fields by repeating the following actions for each field:
    1. On the Data Model tab, click Add field.
    2. Enter the name of the field.
    3. In the Type column, select the data type that you want to store.
Add fields to Job Location data object.
  1. Click Save to save the data object.

2 Identify the Primary Fields

  1. On the Data Model tab of the Job Location data object, click Primary fields.
  2. In the Primary field configuration dialog box, click Add, and then select the existing fields that you want to make primary.
Adding primary fields.
  1. Click Add, and then click Submit.

3 Configure a view for data object

  1. In the Job Location data object, click the UX tab.
  2. In the rightmost pane, click the Other Views tab, and then in the Form section, click Create.
Other views.
  1. Click Add, and then select the fields that you want to be visible on the data object.
Create view.
  1. Click Save.

Confirm your work

When the Job Location data object is configured on the landing page, the following view is displayed for the user to create or update the location details: 

Job Location details view.


Available in the following missions:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice