Discussion

Pegasystems Inc.
AU
Last activity: 29 Oct 2020 7:12 EDT
Is App Studio dependent on Design Templates? [LSA Data Excellence]
New Views created in App Studio are linked to a Template to accommodate the now-Best-Practice configuration approach of a View being an ordered association Fields within a Region in the Template. This separates:
- What data is shown (the View); from
- How the data is laid out (the Template),
... and allows adjustments (including those delivered in Pega Upgrades) to the layout and styling of Views linked to the same Template to be implemented once (in the Template) and take effect over all Views linked to it with no further refactoring.
As of Pega 8.2, new Section rules created in Dev Studio are Design Templates by default to encourage this pattern as the new Pega Best Practice.
Unlinking a View from a Template is to require that the View encapsulates both its data and layout implementation in the same rule. This yields a maintenance overhead - usually felt at Upgrade-time - if similar layout patterns are implemented across many Sections (even if their styling is sourced from the same Skin).
A View cannot be configured in App Studio if it is not linked to a Template. A View originally authored in Dev Studio can still be configured in App Studio so long as it is linked to a Template.
Discussion on this topic was sought from the LSA Data Excellence (Pega 8.4) webinar conducted in July 2020. The webinar and its full set of discussions that arose from it are available at LSA Data Excellence: Webinar, Questions & Answers.