Skip to main content


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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Creating a custom modal dialog format

Updated on April 5, 2022

You can create a new custom format or copy an existing one.

Styles that you define in the modal dialog format in the skin are applied to the modal dialog template, pyModalTemplate or pyGridModalTemplate. You can modify this template, for example, to replace the OK and Cancel buttons. Buttons in the modal dialog are styled using the settings in the Standard Button format in the skin.
  • To create a style format, perform the following actions:

    1. Click Add a format.

    2. In the Create a new format dialog box, enter the Format name by using only alphanumeric characters (a-z and 0-9) and spaces.

      The name cannot begin with a number. The format name that you enter is converted into the name CSS class or classes.

    3. Optional:

      Provide a Usage annotation.

    4. Click OK.

    Result: The new format is populated with default values.
  • To create a style format by copying an existing format, click Actions and select Save as from the list.

  • Previous topic Skin form — Components tab — General — Modal dialogs
  • Next topic Applying a custom modal dialog format

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