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 :
Microsoft Dynamics AX (Archived)

Extensions in D365FO

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

Can you please let me know if we are going to work with Standard Objects on Table, View, Queries and Data Entities. So, we need to work with Extensions.

I saw for each Objects we have extension. Like Table. extension, View.extension etc...

For example :

If i need to work with Standard View. So,create my own view.extension to work OR we can work directly with objects under View.extensions?

Please give me more shed on this.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Please define what you mean by "to work". A concrete example would likely help.

  • @rp@n Profile Picture
    30 on at

    Sorry Martin,

    Actually i mean to say i have to create always my own extension or i can work directly with extension under View.extension which is already present.

    Please give me more shed on this.

    Thanks!

  • Suggested answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    You seem to be completely ignoring packages, which is a big mistake. The answer depends on whether the "extension which is already present" is in your package or not.

    You can modify elements (including extensions) that are in your package. You can't change code in packages developed by other parties, such as Microsoft or ISVs. You can only extend them, which is the point of extensions.

  • @rp@n Profile Picture
    30 on at

    Thanks Sukrut,

    Means It's might be Table, View, Queries Or Data entities. If we need to add any extra code depends upon my business logic so, I need to create my Own Package and own extension respectively.

    And the Extensions which is created by Microsoft, we can only extend this if required but it's not allow me to do any customization.

    Is't correct ?

    Please give me more shed on this.

    Thanks!

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Basically if you want to change anything that is not in your package, you have to create an extension. You can't modify objects that are in other packages, no matter if they are normal objects or extensions.

    In earlier versions of D365FO and AX, Microsoft allowed others to customize the standard package. Now it's no longer possible.

  • @rp@n Profile Picture
    30 on at

    Thanks Nikolaos,

    For example : BaseEnum : Bank Account Type

    3857.s2.jpg

    It's showing it's belong to Package ( Bank Type )

    If i need to add any element on base enum BankAccountType So, i need to create my Own Package and Own extensions. Then only i can add elements in enum Bank Account Type.

    Is't correct ?

    Please give me more shed on this.

    Thanks!

  • @rp@n Profile Picture
    30 on at

    Thanks Sukrut,

    Means suppose first time i am creating Package ( MyOwnPackage ) and Create Extensions.

    If required, Next time on wards i need to choose "Select Existing Package " and from drop down need to select my package ( MyOwnPackage). So, that i can add multiple objects in single Package.

    Is't correct?

    Please give me more shed on this.

    Thanks!

  • Suggested answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    "Select Existing Package" is related to creating models.

    I assume it's not what you're talking about. If you want to add objects to an existing model, either open an existing project for the model or create a new project and make sure its for the model where you want to add things. (You can change it in model properties.

    You'll use "Select Existing Package" only if you want to create more models inside the same package, which you won't do often.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans