Two days ago in the Business Central event I’ve done with Microsoft Italy, someone with good eyes noted some small UI changes on a demo app I’ve used to show some Azure services in action. The UI changes was the following:
These small changes are improvements in the modern action bar available starting from Dynamics 365 Business Central 2022 Wave 2 release (version 21). I talked about some of them in a post some weeks ago, but now what are those new changes?
The first change is related to the possibility to display verbose fields on bricks in list pages. As you can see from the above image, here I have a page that shows events. Every event has a code, a title, a speaker and a long description of the event. When in brick view, the above list shows the description of the event in a new line without cutting the text.
How to do that?
The Events table contains a fieldgroup called Brick and the fourth field specified in the list of fields of the brick is the table field that is displayed as a verbose string on the page. The Events table definition to obtain this effect is the following:
This permits you to have more elegant list views without cutting details.
What about the second UI change? How can I create an action like the one in the first image?
I’ve defined the Events List page actions as follows:
The Events List page defines two actions and then (using the new actionref keyword explained in my previous post here) creates a new group in the Promoted area with a new property called ShowAs:
ShowAs is a new property available starting from Dynamics 365 Business Central 2022 wave 2 that specifies how an action group should be rendered in the user interface. Possiblr values are the following:
- Standard: default value that specifies that an action group should be rendered as a standard group.
- SplitButton: specifies that an action group should be rendered as a split button.
If you use the SplitButton value, the action is rendered as following:
Small changes, but that can help improving the usability of the action bar (and I think that this is a need for lots of customers). I encourage you to start using them in your apps too.