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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Check if internal feature is enabled, is it possible?

(0) ShareShare
ReportReport
Posted on by 10

Hi!

Is it possible to check if internal feature is enabled on version 10.0.25 and above? I instaled version 10.0.28 on onebox environment and it seems like application is not compiling because of code that is worked on 10.0.24, but doesn't work on 10.0.28. I found that started at 10.0.25 version Microsoft does not allow to use internal classes.

The problem looks like this: pastedimage1663230367742v1.png

Is there some workaround or this is not possible at all?

I have the same question (0)
  • GirishS Profile Picture
    27,827 Moderator on at

    Hi KOSHKE,

    Internal method cannot be accessible in any version of D365.

    Internal method can be accessible only inside the model.

    Thanks,

    Girish S.

  • KOSHKE Profile Picture
    10 on at
    [quote user="GirishS"]

    Hi KOSHKE,

    Internal method cannot be accessible in any version of D365.

    Internal method can be accessible only inside the model.

    Thanks,

    Girish S.

    [/quote]

    In 10.0.24 i got this BP warning after compilation:

    pastedimage1663232567296v1.png

    But class compiles and works. In 10.0.28 i can not compile the class.

  • Suggested answer
    Komi Siabi Profile Picture
    13,122 Most Valuable Professional on at

    Hello,

    Just like your said, the usefulness of access modifier internal was emphasised from 10.0.25 and does not allow you to use class, method expect you in the same model. This had been enforced by Microsoft. So, some of your old code might throw up errors.

    The warning is your screenshot it now an error in 10.0.25 and going forward.

    You would have to find a way to refactor your code to achieve your goal. You can as well post your requirement in a new thread for experts to suggest how to go about it.

  • Hugo Alves Profile Picture
    129 on at

    I am facing hard time trying to Extend Production Floor App, Report Progress Operation...

    Well, Microsoft is the one that proposed Extensions approach, and we all understand and agree on the reasons, but they are closing too much and over using the Internal modifier.

    Man, every single change, the simplest one i try to make, gets stuck on an Internal lock, can't áccess their methods, their variables, no alternative provided as events, nor delegates... surely we no longer write code on the same Package.

    It's getting harder to step into the building.

    My question...

    They init a variable 'isCWFeatureEnabled' or 'isDecimalPlacesFlightEnabled', they use it to define Controls properties, they don't allow us to use their variable neither to ask if the feature is enabled, the Feature classes are all Internal. So how do i extend features if i can't even check if a feature is enabled?

    Please guys don't suggest each developer to post their specific business requirement when we are clearly talking about Extensions approach locked on lack of Extending Points...

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans