Back ForwardAbout Data Types

The Data Designer lets you review and manage data types in your application. When you select a data type in the Data Explorer, the data type opens in the Data Designer. 

Control buttons appear at the top right of the Data Designer:

A data type has several tabs:

Definition

At the top of the tab is the Description of this data type. Click edit to update the description in a popup form, then submit the form to save your changes.

In the composition grid you can review and manage the properties that are part of the data type.

If the list is long, you can enter all or part of the name of the property in which you are interested in the Search field and click the magnifying glass to search for properties that match what you have entered.

For each property you can review its

Add properties to the list by clicking the "Add property" link below the display.

If you change your mind, you can delete a property by clicking the x icon at the right of its row. Note: This action only deletes the property if, as with an entry you just made, there is only a single instance of the property in the system. If the property has multiple versions, the delete action only removes the latest version. At runtime the system continues to use rule resolution to find earlier versions of the property. This function is primarily for properties you add to the grid, and then decide to remove in the same session because you do not need them after all.

Return to tab menu

Usage

On this tab you can review (but not edit) the pages and properties that use this data type. Click a column header to sort the grid in which it appears by the contents of that column. Click the header again to reverse the sort order.

Most columns in tables have a small triangle to the right of the column name. Click the triangle to display a filter form. Use the form to filter the contents of the table to include only elements whose values for the column match the filter you have set. Click "Clear filter" in the form to remove existing filters.

Data pages

For each data page, the table displays:

Property references

For each property that references the data type from a specific scope, the table displays:

Undefined pages

The system created undefined pages during processing, often when processing activities or data transforms. Refactor these pages to use data pages to enhance maintainability, reuse, and guardrail compliance,

For each undefined page, the table displays:

Return to tab menu

Sources

If you have not created a local source for the data type, the tab provides a link; click the link to create a local source with the Local Data Storage wizard.

Note: After you have used the wizard you may see on this page a warning that the system could not generate a dedicated database table for this data type. Click the link provided to display the Fix Database Table Generation form. On the form you can download a SQL script you can give to your DBA. Your DBA can run the script against the Pega 7 database to create the dedicated table. When that is complete, return to the form and click Verify to verify that the table exists.

The form displays existing data sources, displaying for each:

Return to tab menu

Records

If you have not configured a source for use with the record editor, the tab provides a link you can click to configure the source with the Local Data Storage wizard. Note: Data records cannot be configured for cases.

Note: see the note about the Sources tab about a warning message you may see here.

Data sources identified on the Sources tab appear in the Sources field at the top of this tab. Select a source to display information about its records in the section below. If you choose a source that is not yet configured for local data storage, the system helps your configure the source.

In the lower section are controls that let you:

Click the + icon below the table to add records using the Record Editor. Columns marked with an asterisk * are required. Remove the record by clicking the X at the right of the row. Click away from the record to save your changes.

Return to tab menu

Advanced

On this tab you can change the context for new and updated rules, and review the current database settings.

Context for new rules

Set the context for new rules related to this data type:

Context for updating rules

Set the context for updating rules related to this data type. Select either:

Database information

This section lists the current database information for this data type:

Return to tab menu

Related topics About data pages
About the local data storage wizard
About the Data Explorer