Skip to main content

Table of Contents

Extending the option map

Extend the option map to built-on applications to source values for fields that are specific to those applications, for example, academic degrees for the Procurements application.

  1. In Dev Studio, create a class in the integration layer with directed inheritance from the PegaPS-Data-Config-OptionMap class, for example, PegaPS-Data-Config-OptionMap-Procurement.

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

  2. In the new class, create a data type for the built-on application, for example, Procurement Option Map.

  3. In the new data class, create a report definition rule that fetches data from the new data type.

    For more information about creating report definition rules, see Creating a report definition.

  4. In the new data class, create a data page. In the Data sources section, ensure that you use the new report definition rule as the source.

    For more information about creating data pages, see Creating a data page.

  5. Override the LoadOptionMapList data transform and add a new step to append the results from the data page that you created to the pxResults property.

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