Why You Need To Be Careful When Using The MetadataSupport Library For Enums in D365FO

I have used the MetadataSupport library in X++ to help get metadata information for tables, menu items, and data entities in the past. I have also used it for enums but recently found an issue when dealing with enum extensions.

I initially wrote the logic to get enum metadata information like this:

Which seems to work just fine, until you find an enum that contains a base enum extension, for…

Continue Reading Alex’s Article on their blog

Why You Need To Be Careful When Using The MetadataSupport Library For Enums in D365FO | Alex Meyer

I have used the MetadataSupport library in X++ to help get metadata information for tables, menu items, and data entities in the past. I have also used it for enums but recently found an issue when dealing with enum extensions.

Blog Syndicated with Alex’s Permission

Author: Alex Meyer

Share This Post On