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, ...
Unanswered

Struggling to fetch Data Entity Extensions in D365 F&O — MetadataSupport limitations?

(1) ShareShare
ReportReport
Posted on by 2

Objective:
Build a job that takes a Data Entity name as input and returns all its extensions present in the system.

What I’ve tried so far:

  • Explored MetadataSupport class thoroughly (via Microsoft Learn and runtime inspection)

  • Methods like:

    • GetDataEntityViewNames()

    • GetDataEntityView()

    • GetDataEntity()

  • These only return base entities, not extensions

Problem:
There doesn’t seem to be any public MetadataSupport method that exposes Data Entity Extensions, unlike:

  • Tables → GetTableExtensionsForTable()

  • Data Entities → No equivalent

Observations:

  • In AOT, extensions are visible under Data Entity Extensions (e.g. Entity.ExtensionName)

  • But this structure is not exposed via MetadataSupport APIs

  • Naming-based approaches are unreliable and not suitable for production-grade tools

Screenshot 2026-04-09 190311.png
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    239,643 Most Valuable Professional on at
    Moved from Integration, Dataverse, and general topics forum to Finance | Project Operations, Human Resources, AX, GP, SL forum.
     
    The MetadataSupport class is a simplified interface of the metadata API and it doesn't expose all the features. You may want to use the metadata API directly rather than going through MetadataSupport. Providers there have DataEntityViewExtensions property that you seem to be looking for.
     
    Your code snippet suggests that you've already tried to do so, but you didn't mention it in text at all. I see you're getting a compilation error. I suspect (but I'm not sure) that there is no MetadataProvider class. If you meant IMetadataProvider interface, you need to fix the name and add a using statement for Microsoft.Dynamics.AX.Metadata.Storage.Providers.

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 April 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 722

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 547

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans