Skip to main content


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

Adding address types to the entity details form

Updated on January 18, 2021

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 DataAddressType. 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).

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