Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Extending Entity to import custom fields via DMF

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey folks,

I need to extend the Entity HcmPositionDetailEntity to import a new field at the Table HcmPositionDetail.

I created a simple Enum (NoYes) at the Table HcmPositionDetail and it's Staging Table HcmPositionDetailStaging. 

But I cant see the fields in the DMF for this entity - just the standard-fields.

Iam working with AX7 so hopefully someone here knows how to exend Entities in AX7 :)

Greetings

Alex

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Extending Entity to import custom fields via DMF

    It is working now... I checked the entity and navigated to "Map staging to target". On this page there is an option "Generate mapping". After this action everything showed up and the import worked like charm :)

    Thanks for your help.

  • vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: Extending Entity to import custom fields via DMF

    Hi Alex,

    I am not sure, I will check it and update if I get anything. Mean time if you create a mapping between source and staging in the "Mapping details" tab and check if you get it in the "mapping visualization" tab.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Extending Entity to import custom fields via DMF

    Yes but nothing changed. There should be a new Field called "FieldEnum1".

    I added it in Visual Studio as an Customization.

    staging2.png

    edit:

    I can see the fields in the table style overview:

    staging2.png

    Is there any reason why it wont show my new fields in the grafical overview (first picture)?

  • Verified answer
    vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: Extending Entity to import custom fields via DMF

    Have you refreshed the entity list after your changes? If not please do it. You can find it under workspaces-> Data management -> Framework parameters -> Entity settings -> Refresh entity list.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans