web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Add Custom Validation During Import Data thorugh Data Management in D365

(0) ShareShare
ReportReport
Posted on by

Hello Everyone,

I want to add custom validation when data is imported through data management and also maintain their error log in stagging table.

I have the same question (0)
  • Verified answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Add Custom Validation During Import Data thorugh Data Management in D365

    Data entity has validatefield and validateWrite method. You can use those methods. The log should be maintained for these validation automatically.

    docs.microsoft.com/.../validations-defaults-unmapped-fields

  • Community Member Profile Picture
    on at
    RE: Add Custom Validation During Import Data thorugh Data Management in D365

    Thanks for reply.

    Override validate field method is not allowed because its standard entity and i am also try to wrap method through COC but its throw error. I am not sure but before platform 26 we cant apply COC on data entity method but after platform 26 i can do that ? But still i am getting error i don't no why , i am working on platform 29.

    Finally i am using validate field event handler and its working fine. But as compared to event handler my first approach is using COC but i am not sure how we can implement on data entity.

  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Add Custom Validation During Import Data thorugh Data Management in D365

    You can do COC on entity methods. What error you are getting when you do COC. What platform and application version you are on. Although you got it to work using event handler , Please share details about the error when you try COC.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 765 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 743

#3
Sumit Singh Profile Picture

Sumit Singh 551

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans