This page describes how to work with web parts when editing Portal Engine templates for administration interface pages.
To edit the web part content of a template:
Alternatively, you can design templates directly when editing UI elements (for elements whose content is based on a template):
The Design tab allows you to view the structure of the page's template and manage the template's web parts.
Impacts of modifying page templates
When you edit the web parts on a page template that is shared by multiple UI elements, the changes affect all of the resulting administration pages.
You can use object versioning to keep track of the changes made to a template, including its web part content (and roll back to previous versions if necessary).
The most direct way to add a new web part to the template is provided by the web part toolbar, which appears on the right side of the Design tab:
If you do not wish to use the toolbar, you can add new web parts into specific zones:
The Select web part dialog opens, which contains a catalog of all available web parts. Locate specific web parts by browsing through the category tree or using the search. Click Select to confirm your selection.
When you add a new web part instance into a zone, using either the toolbar or the zone action buttons, the Web part properties dialog opens. Here you can set up the behavior of the web part by entering values into its properties.
Note
Web parts can skip the initial configuration dialog when users add new instances. To enable this behavior for a web part:
To open the configuration dialog for existing web part instances, double-click the web part's header on the Design tab or open the web part's menu () and select Configure. You can also edit properties for entire Web part zones by double-clicking their header.
Macros in web part properties
All web part properties support macro expressions. Macros allow you to insert dynamic values instead of constants. The system evaluates macros at run-time, so the web parts can work based on context-dependent values.
For web part properties that do not have text values (such as checkboxes), insert macro expressions by clicking Edit value () next to the given property. This opens a dialog where you can write the required macro.
Loading values from the properties of other web parts
Macro expressions allow you to connect the functionality or content of multiple web parts. By adding the following macros into properties, you can set up web parts that automatically adjust their behavior based on the configuration of other web parts or zones.
Note: The connected web parts or zones must be placed on the same page template.
When the system displays the page, the macros resolve into the values of the specified properties.
To relocate a web part to different positions or to other zones, drag the web part's header to the desired location.
Alternatively:
To move all web parts in a specific zone:
Copying allows you to duplicate web parts and paste them into any web part zone.
You can copy:
The system saves the web parts and their configuration into an internal component clipboard. To paste the copied web parts into a zone, choose the target location:
You can paste the web parts any number of times. Copying different web parts overwrites the clipboard content. Every user in the system has their own separate clipboard.
To remove existing web part instances from the page template:
You can see which objects use a specific web part or a widget. The objects are:
Web parts
Widgets
In rare cases, web part errors may prevent the Design tab from working correctly. For example due to invalid configuration of a web part or when testing custom web parts.
You can fix the page by manually editing the web part XML source of the page template: