Skip to main content

Table of Contents

Creating custom modal dialog box templates

Applicable to Theme UI-Kit applications

You can customize the modal dialog box by altering the color, corner shapes, and other settings in the skin. You can save these settings by customizing the modal dialog box templates and saving them as a section.

You can create customized modal dialog box templates by overriding the following templates:

  • pzModalTemplate - General template for the modal dialog box
  • pzGridModalTemplate - Template for modal dialog boxes for Grid, Tree, Tree Grid layouts
  1. In Dev Studio, search for the standard modal dialog box template that you want to customize.
  2. Open the modal dialog box template.
  3. Click Save as.
  4. Enter a description for the template in the Label field.
  5. Select the branch from the Development branch menu.
  6. Select the class where the template will be used from the Apply to menu.
  7. Select the ruleset from the Add to Ruleset menu.
  8. Click Create and open.

Related Content

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