In Cloudify Premium Manager, the Cloudify Management Console framework allows
sys-admin users to define what sets of pages the users see when they log into the system, and which widgets these pages contain. For example, they can define a special template for managers of a specific tenant. Those pre-defined sets of pages are called UI Templates.
- UI Template applies for specific user-roles, in specific tenants.
- Cloudify Community Manager does not support multiple users or multiple tenants, it also does not support the ability to define custom templates.
In order to see templates in use or create a new one, sys-admins can choose the Template Management option in the user menu:
Choosing this option will present all the existing templates, pages and page groups on the current manager. From here, you can create new templates, pages and page groups and edit existing ones.
Once you are done creating and editing the templates, pages and page groups, click Close in the top right corner.
Creating a new template
After clicking the Create template button, specify template name and choose to which user roles and in which tenants it should apply. Next, choose the pages and page groups you would like to include in the template from the lists on the left, and click Create.
The template will now apply to all users with the relevant roles in the specified tenants.
Templates are applied upon first-time login. Users who already logged into the system must select the Reset templates option under the user menu to apply the new template changes to their account.
New template will override all changes users manually introduced in Edit Mode.
In case a user fits more than one template in a specific tenant (if the user has more than one role in this tenant), the template which will apply to it will be the first template on the list, from all those it fits.
Creating a new page
After clicking the Create page button and specifying the name of the new page, you will see the new page appear in the page’s list, and a Page Id will be automatically created for it. You will then be able to choose or edit it from the actions menu to its right.
Upon choosing the edit option, the page will open in Edit Mode, in which you can add widgets and edit their properties, order and appearance. You can also change the page name by clicking on the name shown on the top (after Template management/).
Once you are happy with your page, choose Save in the page management menu, and once back in the Template Management window you can now choose a template and add a page to it.
Creating a new page group
After clicking the Create page group button and specifying the name, icon and contained pages you will see the new group appearing in the table, and an ID will be automatically created for it. By clicking the page group table row you are able to see group pages as well as IDs of templates that use the group. By clicking the edit icon you are able to edit the group.
It’s possible to use custom templates and pages across different Cloudify Premium Manager installations by:
- copying necessary files (located in
/opt/cloudify-stage/userData/templates) from one installation to another
- with use of snapshots (as all the templates created by the user are part of the snapshot)