21 Jun’17

Dynamics NAVCreation of a new Role Center and assigning it to a user as a profile in Microsoft Dynamics Nav 2017


This article focuses on how to create a Role center page and assign the role to a user as a user profile.

The requirement was such that the user needs a Role center for the HR where the HR can view the Active, Inactive and Terminated employees and can also view the List of employees, Leave application list etc.


Microsoft Dynamics NAV 2017


1. Create a query with Data Source as Employee Table, create a filter field Status, here status is a option field which has three options -Active, Inative and Terminated.Create a column field and set Method type as Totals  and Method as Count.

2. Create a table with name e.g. HR Cue table. Here set the fields FieldClass to Flowfield and CalcFormula to Count.

3. Create a global function CountOrders and define the query in the variables.

Here in the function, depending on the field number selected, it calls the query and sets the status to it.

4. To display Cues on the Role centre, we need to create a Page with Group subtype as CueGroup.

5. Use CueSetup codeunit for setting up cues and create an action Setup Cues. Create a local function CalculateCueFieldValues which checks if the field is active then it calls the global function CountOrders of HR Cue Page.

6. Create a Control Action as New Employee and set RunPageMode to Create and Run Object to Page Employee card.

On running the cue Page

7. Create a new page for the Role Center with container subtype RoleCenterArea.

8. In Action Container subtype create HomeItems and add Action List.

9. In the Windows client, create a new Profile HR

10. Browse to the User personalization in the search bar in windows client , select the user HR and assign the HR Profile to it.

11. Log in to the Windows client/Web client.


Written by

Chris D'Silva

Software Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more
  • Cause and Solution for Scribe MSMQ not receiving Message from AX

    10 March’ 2018

    Issue: Microsoft Message Queuing (MSMQ) service running on Server might be unable to receive messages. Therefore, messa...

    Read more
  • User Privileges on SharePoint – D365 Document Integration

    10 March’ 2018

    Overview: Often, we wonder what could be wrong where we see a generic error on Documents in Dynamics 365. Something lik...

    Read more