Business Central 2022 Wave 1 – Multiple Report Layouts in Reports and Report Extensions

With each update of Dynamics 365 Business Central, Microsoft enhances what is often referred to as the base application and enhances the development environment. Dynamics 365 Business Central 2022 Wave 1 has several exciting new features in the development environment. One of the exciting features is the option for multiple report layouts within a single report or report extension. This provides report developers the option to add alternative layout options in a single report or report extension.

In earlier versions of Dynamics 365 Business Central, you could only embed a single layout of each report layout type (RDLC or Word) in a report or report extension. If there were a need to have additional layouts, the layout was setup as Custom Report Layout. In Dynamics 365 Business Central 2022 Wave 1 a new Rendering section has been added; you can now include multiple layouts of different or the same type.

Rendering Section

Rendering Section

To enable multiple layouts, you must use the Rendering section of a report object. Inside the Rendering section, you define one or more layout sections. In each layout section, you specify details about the layout file path and name, a Caption property, and a Summary property, which is displayed to the user on the Report Layouts page in Dynamics 365 Business Central.

The default layout is defined with the DefaultRenderingLayout report property. Note: This DefaultRenderingLayout property cannot be set on report extension objects, only on report objects.

DefaultRenderingLayout Property

DefaultRenderingLayout Property

When a report with multiple layouts is loaded, the report layouts are visible on the Report Layout Page. The layout is selected on the Report Layout Selection Page.

Note: The old properties for defining RDLC, Word, and the default layout, still exist but cannot be used in combination with the new rendering section. A report author must use one or the other.

See What’s new and planned for Dynamics 365 Business Central for additional information.

Permanent link to this article: https://www.dvlprlife.com/2022/05/business-central-2022-wave-1-multiple-report-layouts-in-reports-and-report-extensions/

Repository-specific username/email configuration

You set up your repository. You cloned the repository and made some changes. You commit your changes and get the error – Make sure you configure your ‘user.name’ and ‘user.email’ it git

Make sure you configure your 'user.name' and 'user.email' it git

When working with Git as a source control management tool, you need to have defined the user name and email config value when checking in code. These values identify the user in commits. If you don’t have these configured, you’ll see a message – Make sure you configure your ‘user.name’ and ‘user.email’ it git

The username/email configuration can be set globally or at the project level.

To set your global username/email configuration:

  1. Open the terminal command line.
  2. Set your username: git config ––global user.name “<your name>”
  3. Set your email address: git config ––global user.email “youremail@example.com”

To set repository-specific username/email configuration:

  1. From the command line, change into the repository directory.
  2. Set your username: git config user.name  “<your name>”
  3. Set your email address: git config user.email “youremail@example.com”

Verify your configuration by displaying your configuration value –

git config ––get user.email
git config ––get user.name

Permanent link to this article: https://www.dvlprlife.com/2022/05/repository-specific-username-email-configuration/

Hello, World!

If you are new to or familiar with computer programming, you’ll most likely be familiar with “Hello, World!”

“Hello, World!” is typically the first program that someone learns to write and is often used to test that the compiler is installed correctly.

I am not new to blogging and community involvement; however, I have stepped away from it for a while and wanted to get back into it and share my experiences and what I learned along the way.

Well, friends, this post is my “Hello, World!” for this site.

Permanent link to this article: https://www.dvlprlife.com/2022/05/hello-world/