Dynamics 365 Blog - Posts from Oktober 2019

These posts are machine-translated.
Currently, only posts from »Oktober 2019« are displayed Filter entfernen

Hide enum values in form

To hide certain values in a form control derived from a base enum, you can use the enter() method.

[Control("ComboBox")]
class LedgerJournalTypeCB
{
    public void enter()
    {
        super(); 

        this.delete(enum2str(LedgerJournalACType::Vend));
        this.delete(enum2str(LedgerJournalACType::Cust));
    }
}

 
 
 

Run best-practice checks from the command line

Usually the best practice checks are run during the build of a project/a solution. Sometimes, however, it can be quite practical to run them separately from a build.

Therefore Microsoft offers us the XppBp-Tool, see https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-tools/author-best-practice-rules (at the bottom).

This tool is located in the PackagesLocalDirectory\bin directory and can be used as follows:

Xppbp.exe 
    -module:MyModel 
    -model:MyModel 
    -metadata:"C:\AOSService\PackagesLocalDirectory" 
    -all

 
 
 

 

 
 
 
Posts of the actual month
Oktober 2019
MoTuWeThFrSaSu
 123456
78910111213
14151617181920
21222324252627
28293031 
 
© 2006-2024 Heinz Schweda | Imprint | Contact | German version | Mobile version
In order to provide you with better service, this site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.