Skip to main content
LinkedIn
Copied!

Table of Contents

Adding address types to the entity details form

The Add Person and Add Business cases capture two types of addresses. To define additional contact options for an entity, add another address, for example, an office address or a home address.

  1. To add an address to the Add Person case, in Dev Studio, search for and select the pySetFieldDefaults rule in the PegaPS-Data-Entity-Person class.

  2. To add an address to the Add Business case, in Dev Studio, search for and select the pySetFieldDefaults rule in the PegaPS-Data-Entity-Business class.

  3. 3. To add an address to the Add Facility case, in Dev Studio, search for and select the pySetFieldDefaults rule in the PegaPS-Data-Entity-Facility class.

  4. To add an address to the Add Vehicle case, in Dev Studio, search for and select the pySetFieldDefaults rule in the PegaPS-Data-Entity-Vehicle class.

  5. If the address type that you want to add to the form is not defined in the AddressType data type, in the Dev Studio Explorer panel, click Data AddressType . On the Records tab, click the Add record link and define a new address type.

  6. Add a step in the data transform rules for the additional address type.

    For more information, see Data Transforms.

  7. Save the modified data transform rules.

  8. In Dev Studio, search for and select the Addresses section in the PegaPS-Data-Entity class.

  9. Update the section to include the new address type with .AddressList(3) as page context.

    For more information, see Sections.

  10. In the Facility entity, to update the address, update the EntityLocation (PegaPS-Data-Entity) section to include the new address type with the PageContext set as .AddressList(2).

  11. In the Vehicle entity, to update the address, update the EntityLocation (PegaPS-Data-Entity-Vehicle) section to include the new address type with the PageContext set as .AddressList(2).

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