Dynamic templates are discussed in this article, with a focus on how dynamic layouts impact the behavior of portal pages and shapes. Dynamic templates first made available in Pega 7 encapsulate professional information using HTML5 and CSS 3, allowing you to describe the content once and instantly display it in any way that the user requires.
As a market analyst or UX designer, due to Pega 7's model-driven sensitive UI architecture, you do not need to be concerned with most implementation details.
Styles for Dynamic Layout in PEGA
In Pega 7, four templates are supporting HTML5 and responsiveness, dynamic layouts, and three versions utilizing dynamic actions as well:
- Layouts column
- Layouts on video
- Dynamic templates replicate
Both of these formats can be sensitive, meaning they have dynamic elements.
If You are interested To Learn Pega You can enroll for free Live demo Pega Online Training
Dynamic layouts in PEGA
Dynamic patterns in the skin are adaptive, receptive, and fully optimized. Separating content and presentation is a cardinal law in user interface design; a mission that complex formats effectively achieve.
Using DIV tags, rather than table TD tags, is the design information that separates dynamic templates from Pega's prior interface implementation. DIVs are more versatile and modern browsers manage them better. These formats can quickly conform to the various display sizes used by using DIVs.
Presentation vs Substance in PEGA
A segment still belongs to the material you see on a Pega application list. Content in this context refers to the following:
- One or more parts on a work object type, containing the rectangular areas
- Dynamic templates that describe the metadata containing data from the material
- The properties and the respective controls of the user interface that are applied to the layout
- Such complicated layouts (such as nested dynamic layouts)
Presentation is defined in the skin and specifies four CSS files that together describe the colors, fonts, portal images and structure, work objects, rule types, and the display of reports.
Find a form for account sign-up, usually asking for.
- First Name, Second- Name
- Ultimate Name
- Address to the route
- The Economy
- The ZIP Code
Dynamic formats tend to ease the strain of ensuring compatibility of such personalized types across different platforms and display sizes for developers and designers.
Breakpoints Responsive in PEGA
A receptive breakpoint is the width of the screen that causes a presentation transition. Both flavors of dynamic formats include skin configuration settings to determine the responsiveness of a breakpoint. Besides, you can define numerous breakpoints that are sensitive.
Depending on the device resolution (or browser window size) at runtime, the dynamic interface renders appropriately, supplying the end-user with an ideal viewing experience.
Consider a complex interface layout (such as Inline grid triple). This shows the contents with labels on the left, three fields per row. You may, for instance,
- Specify a sensitive breakpoint to behave like a double inline grid at a distance of 1024px (which displays its contents, two per row, with labels on the left).
- Specify a 768px sensitive breakpoint in which it functions as a stacked interface (left-aligned, with labels on top).
In the software, complex templates in PEGA
As the size of the window or the screen limits a complex structure, it rearranges the layout so that elements are accessible for use or can be easily accessed.
There are three phases in this portal page example, beginning with both sidebars visible:
In this case, the left sidebar (the navigation panel) is covered first. But the button at the top left is accessible for reopening.
After that, below the main panel, the right panel (supporting information) is moved.
It uses up all the space available for it in the browser window while the right panel is stacked.
This is an example of the arrangement of a column, which is further discussed below. The need for horizontal scrolling as viewed on small devices is reduced by a significant advantage of this form of dynamic layout.
Dynamic layouts of fields and shapes in PEGA
In complex interface types, when the window is constrained, the individual fields resize and rearrange themselves. It's the same "shrink and stack" behavior that applies at the field level here.
Then, the field widths are shortened and then, as shown, they are partly or fully stacked.
As shown below, you can map out a complex type using nested dynamic layouts. An inline grid is the outer one; stacked layouts containing inline layouts are the inner ones.
There is a property panel in each layout by which you define the properties of the layout. In this way, complex formats can be nestled to build a shape that intelligently conforms to limited space, ensuring that similar fields maintain their expected relationship.
The Dynamic Interface Properties panel is where you define the layout format that defines field alignment, label placement, field spacing, and so on. You may also specify the format of the container to specify the padding around the dynamic structure, the heading type if it is given, and so on.
The interface format and the format of the container are the named formats specified in the skin. The distinction of material and presentation is what provides this.
Additionally, a dynamic arrangement will float, but as the window space becomes confined, it can be shifted left or right.
The skin settings for a dynamic interface can be found in the Skin Instance Adjust Component tab. The settings provide you with the freedom to determine all elements of the layout's appearance. It involves.
- The width of the plan
- Alignment of checks
- Alignment between labels
- Between Objects Spacing
Floats Using PEGA
Float allows you to shift an element to the left or right, causing it to loop around other elements. As far left or right as its container makes, it can pass.
Starting with Pega 7, the Float setting enables every dynamic layout to float. There is no resizing of a floating element, it merely shifts. This is very useful for the page elements you want to resize (particularly headers) without hiding the content of the page element.
Take the following example of a header with two complex formats, floating the proper one red outline.
The left and right layouts get closer together as the frame size is diminished. The right arrangement moves below the left when there's no room left.
Layouts column in PEGA
Column formats are ideally suited for where a job object is the only information to be shown and there is any supporting information type.
A product listing, for example, may have:
- In the left sidebar, scan filters
- Item picked in the primary field
- In the proper sidebar, price/buy info
In comparison to the main column, the location of the sidebar column defines the layout and its behavior. Three configurations exist.
You may construct any number of formats of each kind inside the skin.
You chose the column style in the section, then you are given the layout formats from the skin for that type.
In the skin, the sidebar is given a set distance.
Whatever residual width is accessible is filled by the main column.
Column configuration responsiveness ensures that the sidebars pass under the main content region and take up the width of the panel when a sensitive breakpoint is reached. When a receptive breakpoint is struck, the side panel moves under the principal material.
A dynamic layout itself is each column in a column layout. This behavior removes the need for scrolling horizontally where space is limited.
A dynamic layout that is replicated is a dynamic layout that can be attached to a chart. For each object in the collection, it immediately repeats the content. How the objects are replicated depends on the format (the dynamic layout format) defined for the dynamic layout being repeated. This encourages you to duplicate things as well. You can learn more about this through PEGA online training.