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

Mapping for data entity extension

(0) ShareShare
ReportReport
Posted on by 230

Hello everyone,

I just wanted to link my custom map to a data entity extension.

I am just creating the new mapping, I am getting MyCutomMap.Field1 == .Field1

But it should be MyCutomMap.Field1 == DataEntityExtension.Field1

Because of this, I am getting errors saying field with Id '0' doesn't exist.

Is it possible to link the map to the data entity extension?

If yes, How?

Thanks.

I have the same question (0)
  • nmaenpaa Profile Picture
    101,166 Moderator on at

    Moved to D365 Finance forum.

    Can you show a screenshot of your situation?

    At least when I have a Map that has mapping to a standard table, I see also my extension fields in the field list. For example CustTable.MyField.

    After all, you used the extension to add fields to the standard object.

  • HardikPatel523 Profile Picture
    230 on at

    2020_2D00_07_2D00_23_5F00_18_2D00_36_2D00_25.png

    Here is the screenshot

  • nmaenpaa Profile Picture
    101,166 Moderator on at

    Just to make sure that I understood correctly:

    - You have created a data entity extension

    - You have added some fields to the data entity extension

    - You have added your Map object in the Mappings of that data entity extension

    - You would like to map a field of that map into your custom field in the data entity extension

    I tried it quickly but the lookup for the field mapping just freezes. If I don't use the lookup and I type a field name, it works as you described (=wrong), no matter if I try to map it to a custom field or a field in the standard entity.

    What are you trying to achieve?

  • HardikPatel523 Profile Picture
    230 on at

    Yes, exactly the same situation.

    What I am trying to do is map few custom fields and few standard fields to my map,

    And on modification of those fields, I mean when modifiedField method(of data entity) is called for any of those fields, I should call respective methods in the map.

    This should be the case with few other entites also, so need to do similar thing there also

    I dont want duplicate code in each entity, so thought I could use maps.

    Is there any other option to achieve this?

  • Verified answer
    HardikPatel523 Profile Picture
    230 on at

    Seems that is a name issue(=.Field),

    I was getting error saying field Id with '0' doesnt exists in map, when I tried calling map method from data entity,

    And in map, it was throwing error where I used those fields.

    But when I restarted IIS, It is working as expected.

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 March 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 733

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 278 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans