Thursday, January 23, 2020

Create a Role Center Headline - Business Central

You can set up a Role Center to display a series of headlines, where headlines appear one at a time for a predefined period of time before displaying the next.
Headline part
The headlines can provide users with up-to-date information and insight into the business and daily work. Typical categories of headlines might include:
  • My performance
  • My workday
  • Organizational health
  • Productivity tips
  • Cross-tenant insights (performance relative to peers)
  • Getting started information

Design concept

In development

In short, the Headline is basically a page that contains one or more fields. The page must be the HeadlinePart type page. Each field defines an individual headline to be displayed. The source for a field can be an expression or a field in an underlying table.
  • The HeadlinePart page is designed for Role Centers, that is, pages that have the type RoleCenter. If you use a HeadlinePart page on another page type, the part will not render in the client.
  • Using the OnDrillDown trigger, headlines can be made interactive, meaning that users can select the headline to dig deeper into numbers or values that are shown in the headline or link to another page or URL.
  • You can dynamically toggle visibility of a specific headline, for example based its relevancy, by setting the Visible property on the field.
  • There are only a few field properties that apply to fields that are used on a HeadlinePart type page, including Expression, Visible, ApplicationArea, Drilldown, and DrillDownPageID. All other properties are ignored.

In the client

The Role Center will start by displaying the first visible headline that is defined on the HeadlinePart page. The headline will appear for 5 seconds, then the next headline will appear for 5 seconds, and so on. When all the headlines have been displayed, it will cycle back to the first headline, and continue from there.
  • If a headline is interactive, users can select the headline to open the target defined in the headline.
  • Users can pause on a headline by pointing to it.
  • Users can manually switch among headlines by selecting a corresponding dot that is displayed under the headlines.
  • Users can personalize their Role Center to show or hide the Headline part as they like.

Creating a HeadlinePart page

  1. Implement the logic that resolves field expressions for the headlines that you will use on the page.
    You can apply more flexible and complex patterns, such as having data tables drive the text, drill-down and relevance engine for headlines.
  2. Create a page that has the PageType property set to HeadlinePart.
  3. For each headline, add a field, and set the Expression property. The order of the fields, determines the order in which they appear.
    The following example shows the AL code for a simple HeadlinePart page that consists of four fields that display static text.
    page 50100 RoleCenterHeadline
    PageType = HeadLinePart;



    field(Headline1; text001)

    field(Headline3; text003)

    field(Headline2; text002)


    text001: TextConst ENU='This is headline 1';

    field(Headline4; text004)


    text004: TextConst ENU='This is headline 4';

    text002: TextConst ENU='This is headline 2';
        text003: TextConst ENU='This is headline 3';

  4. You can now add the HeadlinePart page to the RoleCenter page.

Constructing Headlines with the Expression property

The Expression property supports the following syntax that enables you to specify a title for the headline, the headline text itself, and emphasize a string of text in the headline:
'<qualifier>Title</qualifier><payload>This is the <emphasize>Headline</emphasize>.</payload>'

Specifies the title that appears above the headline.
If you omit this tag,
the text HEADLINE will be used by default.
Specifies the actual headline text.
Applies the style to the text.

The Expression property must evaluate to the correct syntax. For example, looking back at the previous example, the text constant text001 could be:
text001: TextConst ENU='<qualifier>The first headline</qualifier><payload>
This is the <emphasize>Headline 1</emphasize>.</payload>';

Making headlines interactive

You can use the OnDrillDown trigger of a headline field to link the headline to more details or relevant information about what is shown in the headlines. For example, if the headline announced the largest sales order for the month, you could set up the headline to open a page that shows a sorted list of sales order for the month.
The following code uses the OnDrillDown trigger to link Headline1 to the Dynamics 365 online help.

field(Headline1; text001) { trigger OnDrillDown() var DrillDownURL: TextConst ENU=''; begin Hyperlink(DrillDownURL) end; }

Changing the visibility of headlines

You can use the Visible property to show or hide headlines that are defined on the HeadlinePart page. With the Visible property, you can show or hide the control either statically by setting the property to true or false, or dynamically by using a Boolean variable.

Static visibility

With static visibility, you can simply set the Visible property on specific fields. For example, following code hides Headline3:
{ field(Headline1; text001) { } field(Headline2; text002) { } field(Headline3; text003) { Visible=false; } field(Headline4; text004) { } }
By adding fields under Group controls, you can hide or show more than one headline by setting the Visible property on the Group control. For example, the following code hides headings Headline3 and Headline4:
group(Group1) { field(Headline1; text001) { } field(Headline2; text002) { } } group(Group2) { Visible=false; field(Headline3; text003) { } field(Headline4; text004) { } }
On HeadlinePart type pages, the group control has no effect on the UI, like with other page types. Its primary purpose is to enable developers to group headlines for controlling visibility.

Dynamic visibility
With dynamic visibility, you can show or hide a headline based on a condition that evaluates to true or false.

·        To dynamically show or hide a headline when the HeadlinePart page opens, the headline field must be in group control, and you set the Visible property on the group control to the Boolean variable that determines the visibility. For example, you could add code on the page's OnAfterGetRecord trigger that evaluates the relevance of displaying Headline3 and results in a Boolean variable being set to true or false.
·        To dynamically show or hide a headline while a page is open, you set the Visible property on the field control to the Boolean variable that determines the visibility.

    field(Headline1; text001)
    field(Headline2; text002)

    // Determines visibility when the page opens
    field(Headline3; text003)
        // Determines visibility while the page is open
    field(Headline4; text004)

Thursday, January 3, 2019

Dynamics 365 Business Central - Key Board Shortcuts for Quick actions

We all are very much familiar with the Dynamics NAV shortcuts to do day to day transactions but what about the Business Central. 

Below are the Key Board Quick reference shortcuts for some of the most used actions. 

Blog Referenced to Microsoft Post. here

Tuesday, December 13, 2016

Microsoft Dynamics NAV 2017 - Item Attributes

Microsoft Dynamics NAV 2017 has lot of great new features and right now, we are talking about the Item attributes which is newly introduced in Dynamics NAV.

What is Item Attributes? 

This is something similar to dimensions. We have one additional table with Item Attributes. You can create Attributes as you want. And for each assigned Attribute to Item, you can assign Item Attribute Value. You can use a lot of different attributes and everything depends by your needs.

Attributes can be used to categorized your items and it is available for search the items..!!!!

When you add your attributes and values to some item, you see all of them in fact box in the right side of page, on both of them card or list. Also you can filter your items based on Item attributes.

you can filter the item based on the given attributes..!! so easy and useful..

Stay connected to get more updates about Dynamics NAV 2017...

Cumulative Update 01 for Microsoft Dynamics NAV 2017 has been released

Microsoft has released the first cumulative update for Dynamics NAV 2017.

Cumulative Update 01 includes all application and platform hotfixes and regulatory features.

The cumulative update includes hotfixes that apply to all countries and hotfixes specific to the following local versions:

  •  AU – Australia
  •   AT – Austria
  •   BE – Belgium
  •   CH – Switzerland
  •   CZ – Czech Republic
  •   DE – Germany
  •   DK – Denmark
  •   ES – Spain
  •   FI  – Finland
  •   FR – France
  •   IS – Iceland
  •   IT – Italy
  •   NA – North America
  •   NL – Netherlands
  •   NO – Norway
  •   NZ – New Zealand
  •   RU – Russia
  •   SE – Sweden
  •   UK – United Kingdom
Get the more information Here 

Thursday, December 4, 2014

Microsoft Dynamics SureStep Online..!!!


I am managing and implementing Dynamics ERP solution since last many years and since the Sure step is introduced by Microsoft. I am following the same methods of it in my implementations.

I am very much love the methods provided by Suresteps and it helps me a lot to complete the projects with more accuracy and documentations.

It is now more easy to have access to surestep since it is available online...!!!

You can access it by below link:

Note: You require partnersource / customersource login to access the surestep.

Saurabh Shah

Monday, December 1, 2014

NAV 2015 - Cumulative update 1 Released available.

Title - Cumulative Update 1 for Microsoft Dynamics NAV 2015

Build No. - 38457

Release Date - November, 2014

Local Version Included - AU, AT, BE, CH, CZ, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, RU, SE, UK.

Download Link

You need Customer or partnersource login to donwload hotfix.

Platform Issues Resolved in the Cumulative Update are -


The Windows client crashes after pressing ALT+TAB.

Promoted actions jump to the initial ribbon location in a multiple action group scenario.

Request to port the whole thing from Dynamics NAV 2015 including the service and the FindEmail function.

Win 8 Shim: WebView communicator may not be able navigate.

[Backport]Imprecise taps on non-scrollable elements dont register.

It is not possible to resize lines in the Windows client when a FastTab is invisible.

"PivotFields method of PivotTable class failed" error message when exporting to Excel.

"The tenant 'myTenant' was not found." error message when you try to connect to a server configured with AAD authentication and the tenant was specified as a URL parameter.

AAD authentication for WinJS NAV app is prone to stop working if AAD internal implementation changes.

CreteACU1-Assembly streaming does not work when an empty target folder already exists.

CreteACU1-[SCOM ]server needs to log events about the tenant state. Currently, it logs informations that the server is operational even if it is not.

CreteACU1-The upgrade table can have a different number of fields as PK compared with the old table.

Interactive sorting is not possible on some FlowFields.

If tables are exported while they are out of sync. and imported again while they are still out of sync., the tables will be created with the wrong design (The new design).

The Web client crashes when opening a page with two repeaters.

A web service based on a codeunit does not consider the user's language settings when formatting output.

The Windows client crashes when you rename a company if the database collation is set to case insensitive.

Processing of shortcut keys in the web browser control used by the Windows client is not enabled.

When you find an operation on a page with a tree view structure, the default field name in the find dialog box can be the wrong one.

Adding a separator to a Cue group action in the development environment causes the Windows client to crash.

The DotNet nullable double variable in addin is not recognized as a decimal.

Tree view hides a line when using the German language and shows half a line when using the English language.

The Windows client crashes when you enable the ShowAsTree property for Repeater groups on pages that are used for advanced lookup.

Incorrect data can be saved after refreshing the page after an error message appeared.

Export-NAVApplication PowerShell command fails with version error.

Compiling Add-Ins in Dynamics NAV 2015 does not work due to incorrect settings in finsql.exe.config file.

The Export-NavapplicationObject commandlet cannot export on a localized development environment.

Filters being changed between a list and card page prohibits successive inputs from a bar code reader or scanner when informational messages are displayed.

Azure Active Directory authentication in China does not work for the Windows client.

The development environment requires all parameters in order to compile objects with DotNet function calls even when some of the parameters are optional.

The Internet Information Server application pool crashes when you enable hostname-based tenant resolution and specify a different tenant name in the web client URI.

"The tenant 'myTenant' was not found." error message when you try to connect to a server configured with AAD authentication and hostname-based tenant resolution.

PromotedActionCategoriesML is not exported in translation.

NullReferenceException in Microsoft.Dynamics.Nav.Client.ClientService.NavClientServiceSessionManager.GetTenantIdFromCurrentRequest

Old PersonalizationStore file cannot be used when opening the Bank Account Reconcilliation page.

Word reporting - Improvements to dialogs and layout editing

"There are no NAV Server instances available for this database..." error message when you run an object from the development environment.

"SqlConnection does not support parallel transactions" error message when full SQL tracing is enabled.

The BusinessGrid adaptive layout sometimes does not work properly if the scroll bar becomes visible.

Change the modern app from version 1.0 to version 1.1.

Improved connection URL format

Show existing URL when the user is returned to the welcome screen.

CreteACU1-SqlException when Start-NavDataUpgrade - New request is not allowed to start because it should come with a valid transaction descriptor.

"A security filter has been applied to table <table name>. You cannot access records that are outside of this filter" error message when you try to access records inside a filter.

Word reporting - Improvements to automatic layout update

The Windows client crashes sporadically.

An empty group is still visible in a FactBox.

Co-branded names may be truncated, for example to MS, if they are too long.