Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating identifiers

Updated on January 18, 2021

Create identifiers that you can use to distinguish between entities, for example, Employer Identification Numbers (EIN).

  1. In Dev Studio, create a class that inherits from the PegaPS-Data-Identifier class, for example, PegaPS-Data-Identifier-EIN.

    For more information about creating classes, see Creating a class.

  2. Create a section for the identifier in the new class. Use the IDNumber section in the PegaPS-Data-Identifier-Passport class as a model.

    For more information about creating sections, see Sections - Completing the Create or Save As form.

  3. Create a property for the identifier and drag it into the new section. Use the IDNumber property in the PegaPS-Data-Identifier-Passport class as a model.

    For more information about creating properties, see Properties - Completing the Create, Save As, or Specialization form.

  4. Map the new class to the new identifier by performing the following actions:

    1. In the Explorer panel, click App. In the search field, enter the name of the class where you intend to use the new identifier, such as PegaPS-Data-Entity-Business or PegaPS-Data-Entity-Person.

    2. Click Data ModelData TransformpySetFieldDefaults.

    3. Add a step for updating the new class and apply the CreatePage data transform rule. See the Image initialization step for reference.

      For more information about adding steps, see Data Transform form - Completing the Definition tab.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us