Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Plugin for import

(0) ShareShare
ReportReport
Posted on by

hi 

i am writing a plugin on "Sales management table"  It has even set up business rules and JavaScript events

so when importing into an Excel file, I would like to set up a plugin so that it does not import when it does not meet the business rules and JavaScript event conditions.

please guide how can i write C# code

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: Plugin for import

    Hi Hubert Hong,

    You need to create a C# Plugin registered on Pre-Validation to ensure that the Excel data import meets your conditions. You will need to change the scope of your Business Rules to Entity so that they trigger when you import data. JavaScript will not trigger on data import so you will need to incorporate the logic into your C# code or Business Rules.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans