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.

How to preview the effect of style changes on work object forms

Updated on May 3, 2020

Summary

Through a Designer Studio preference, you can preview the effects of an application skin's styles when viewing or updating a harness, section, or flow action rule.

This feature is helpful in most situations, as styles affect not only colors and fonts, but other presentation features such as padding (indenting of headings and subheadings).

Using this feature is especially important when your forms include SmartLayouts, since the dimensions of cells are determined by the skin.

For configuration steps in releases before V6.1, see How to preview the effect of style changes on work object forms (V5).

 

Suggested Approach

After you've developed and saved a harness, section, or flow action rule, you can preview it with the Preview toolbar button, or test it more thoroughly in the application's portal and flow.

However, by setting a Designer Studio preference, you can see a highly faithful preview of the form's runtime appearance directly in the Designer Studio portal, while viewing the Layout tab of those rule forms.

For example, this Harness form shows the default presentation of a harness rule AlphaCorp-OrderEntrySystem-PurchaseOrder.NewOrder when the preference is set to the default setting:

Harness rule

The form includes SmartLayouts to provide uniform alignment of labels and fields, as evident in this close-up:

A Detail

The application uses a skin rule named CoolLavender, produced and maintained by the Branding wizard, to present work object forms (including flow actions), user portals, and reports.

Setting the preference

To preview harness, section, and flow action rules more accurately while in design mode, select Preferences from the Profile menu — the menu accessed by the down arrow to the right of your operator name:

Navigate to the General group of preferences. In the Run process in section, select View and select a skin in the Skin field. Click Save.

(To later test using the application user portal, update the preferences again. In the Run Process in section, select New Portal and select a portal.)

Preferences

When the same Harness rule form is opened — still in the Designer Studio portal — the Layout tab presentation reflects the colors and fonts defined in the skin:

Harness with skin

SmartLayouts affected by skin

In this example, the differences are not only cosmetic, evident by comparing this close-up image to the one above:

Detail

The width of the SmartLayout columns is different, and the height of rows is different.

In this example, the differences are due to settings in the Smart Layouts step of the Branding wizard. By default, SmartLayout rows are 25 pixels tall, and label columns are 100 pixels wide.

Wizard

For the CoolLavender skin, a designer chose different heights and widths. (These values are chosen to demonstrate the preview feature, not to suggest good design practice.)

Wizard Cool Lavender skin

By setting the preference, the designer, while working on the Layout tab in the rule forms, sees a close approximation of the resulting work object form:

Work object form

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