Skip to main content

Table of Contents

Creating identifiers

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 Model Data Transform pySetFieldDefaults .

    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.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community 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
Contact us