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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Multiple options to customize Best practice rule check (BP) in D365

(0) ShareShare
ReportReport
Posted on by

Hi All,

I would like to add customized Best practice rule check (BP) in D365

Visual studio->Dynamics365--options-Bestpractices.

I would like to know the options available for doing the same. Also the programming language to be used is it C# or X++ which one would be a better go? Pls share any documents or links .

Responses are highly appreciated!BP.png

I have the same question (0)
  • Verified answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi Madhu,

    Please look at the official MS documentation docs.microsoft.com/.../author-best-practice-rules

  • Community Member Profile Picture
    on at

    Hi vinit,

    Hope you are doing great!

    Currently i am working on custom Best practices project using the link 00802834.png(docs.microsoft.com/.../author-best-practice-rules).

    I could add my custom business logic for a few objects like Enum,Extended data type, forms, menu, Tables etc. However, I am not able to complete my requirement for object types mentioned below as there are no standard functions listed in the class: ModelElementPathBuilder ..Please find the screenshot for reference.

    How do i achieve my requirement for the below object types. Your inputs are greatly appreciated.

    I request you to share some info on this as I have been banging my head for the last few days. Please do the needful!

    Tables extensions

    Views

    Views extensions

    Queries

    Queries extensions

    Data entity extensions

    Composite data entities

    Macros

    Form extensions

    Menu extensions

    Menu items

    Menu items extensions

    reports

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Madhu,

    Have a look at this blog : www.agermark.com/.../

    You can use www.red-gate.com/.../ to check OOB BP rules.

  • Community Member Profile Picture
    on at

    Hi Vinit,

    I did check the link shared by you. However, I could not customize the best practices rules using the rulexml format. 

    I checked with joris(Senior manager Microsoft) . He is the one who gave inputs for the link  www.agermark.com/.../

    He has mentioned that we cannot target all the metadatatypes as of now and Microsoft is working on it. This info was shared via linkedin and now i want to get the same info from Microsoft officially. How do i contact them ? is it via raising a support ticket or call them via phone or any email id to send in detail and explain the scenario. 

    Pls give your suggestions.

    Thanks!

    MadhuBest practices 

  • vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    Raise a support ticket. If they are already working on it, you will get the same answer from Support.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans