Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 10 Next »

Overview

Now that we started a Project in Wayfast, we can set different Menu and Sub-Menu items and assign the pages associated to them. Apart from that, we will learn how to associate menu items to a certain Role. This features allows to configure Application’s Role Based Access Control (RBAC) for each user who logins and work on the Project.

How to create new Menu items?

Preconditions

First, we need to create a Project and build the structure with database before set a requirement as active.

Under the Project top menu, click on “General Options” icon. Then click on “Menu” subtab

“Menu” dashboard displays all the Menu items and Roles that currently are created for this Project.

We will focus on “Custom Roles” functionality in another lesson.

Let’s create a new menu in few steps! First click on “Add items” button.

A popup “Create a new menu item” is displayed with the mandatory information.

A menu needs to be associated to any page, otherwise, it will be empty and won’t redirect to any place in the application. There’s an option to associate the menu item to a new page by clicking “New Page” button.

Field Name

Description

Description of Items

Name of the menu item

Select the Destination

Displays all the pages associated to the Project. According to the selection, menu item will redirect to the page.

Parameters

Order

Displays the place of the menu item in the page depending on how many menu items are created in the Project

Type

Displays the way that the menu item is opened. It can be on the same page or a popup.

Visibility condition

Style

Displays the style related to the menu item

Selecting the popup type, Wayfast will show the position where we are going to place the popup in the page every time that this is prompted.

We can set the “Order” field to place this menu item in the page depending on how many menu items are created. In the example, we are going to create the first menu item in Project.

Once we set all the required field, click on “Accept” button and we can observe the new menu item under the dashboard. If we want to edit the menu item, we need to click on the “Menu’s name” link.

Next to the menu item created, we can see a “Cross” red icon under the “Delete” column to remove the object from dashboard.

Another thing that we can do to verify the menu item creation is access to the Project site using the Preview functionality. We need to keep in mind that changes will be immediately impacted, make sure to clean the cache in browser if the menu is not visible.

Recap

In the first part of this lesson, we learnt about how to create new Menu items and how they can contain Pages previously created. We defined the relationship in General Options. In the following lesson, we are going to create Roles and understand how they can be assigned to the listed users and menu items.


  • No labels