web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

How to compile with PowerShell for german language without complying with Common Language Specification?

(0) ShareShare
ReportReport
Posted on by 20

As described in the title, im compiling directly through Powershell using the Microsoft.Dynamics.Nav.Ide.psm1 and the Compile-NavApplicationObject function.

The compiling itself works very great, There is a huge secondary problem though. Umlauts or mutated Vowels ( Ä Ö Ü ) will not get compiled and create an Error.

How can I change the way the Powershell Module compiles the objects since the CSide Compiling process does not have problems with Common Language Specification.

pastedimage1600773101575v1.png

EDIT: So another interesting point here : Compiling the same report 11007 through CSide -> Tools -> Compile works successfully. So I think theres a difference in the ways both CSide's are compiling. A Software Engineers opinion on this would be helpful! :D

I have the same question (0)
  • THE Italian Profile Picture
    Microsoft Employee on at

    I think it is a bad practice to have Objects, functions, files, variables, etc. other than aA-zZ 0-9. It would also more correct to use english names to improve code readability and avoid all of these unicode issues.

    You might read about e.g. AL best practice e.g. file naming or other conventions

    docs.microsoft.com/.../apptest-bestpracticesforalcode

    I would suggest to refactor your code to cope with these best practices.

  • EsatKaplan Profile Picture
    20 on at

    Hey,

    thanks for the quick answer! The thing is I am only compiling a docker vanilla Cronusde container. So there are no custom objects here ^^

    If I understood the error correctly, the compiler has a problem with the caption of a field on the Report 11007.

    Thats a NAVDACH standard object version.

  • THE Italian Profile Picture
    Microsoft Employee on at

    That might explain things. I would defer you to open an issue in the Docker help here 

    https://github.com/microsoft/navcontainerhelper/issues

    There you will find the answer you are looking for

  • EsatKaplan Profile Picture
    20 on at

    I would, if the problem would be related to docker. But here it seems that the way Microsoft.Dynamics.Nav.Ide.psm1 compiles objects is different than the way the CSide Client would compile since it compiles successfully that way. Any Idea why?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,185 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,151 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,068 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans