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 skin

Updated on April 5, 2022

Create a skin to specify the presentation aspects of your application.

Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You can copy data instances but they do not support specialization because they are not versioned.

A Skin rule has a single key part:

  • Identifier—Enter a name for the skin that begins with a letter and that uses only letters, numbers, and hyphens.

The class hierarchy is not relevant to rule resolution for skin rules. Time-qualified circumstances are not supported for skin rules. When searching for a Skin rule, the system completes rule resolution as follows:

  • Filters candidate rules based on a requestor's RuleSet list of RuleSets and versions
  • Finds circumstance-qualified rules that override base rules
  1. Click CreateUser InterfaceSkin.

  2. In the Label field, enter a name that indicates the purpose of the skin.

  3. Specify the context for the skin record.

  4. Click Create and open.

  5. Use the tabs of the Skin rule form to complete the following tasks:

    • Component styles (custom style formats)—Define the styles for components such as layouts, controls, and reports. You can define various style formats for each component and reference the formats on property panels in sections, harnesses, and controls.

    • About mixins—Mixins define a reusable typography, border, or background style, or a combination of these styles. Use mixins to enforce consistency across your user interface, maximize re-use, and minimize future maintenance.

    • Included styles—Use the Included styles tab to add additional style sheets to the skin. You can also enable and disable automatic generation of the work form CSS on this tab.

  • Skin rules - Completing the Create or Save As form

    Create a skin or update an existing one to specify the presentation aspects of your application.

  • Creating a content security policy

    Create a content security rule so that browsers load resources only from authorized web sites.

  • Skin rules

    Use the skin to specify the presentation of your content. You can style all presentation elements of your interface in the skin, including typography, borders, backgrounds, layouts, and UI placement and alignment. By defining presentation attributes in the skin, you separate the content that is defined in sections and harnesses from its presentati

  • Accessing a skin

    Skin rules are part of the User Inteface category. A skin rule is an instance of the Rule-PortalSkin Rule- classes Rule-PortalSkin rule type.

  • Upgrading a pre-7.1 skin

    You can upgrade a pre-7.1 skin.

  • Specifying a skin for your application

    The best practice is to associate a single skin with your application.

  • Creating a custom style

    You can specify a custom style on the Advanced tab of the Properties panel. You must enter the custom style name.

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