Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Triggering plugin on creation/updation of records through data import

Posted on by 60

We have a plugin which is triggered on creation, updation and deletion of child entity records and updates some fields on parent entity record. Is it possible to trigger the plug in when child entity records are created or updated through data import.

*This post is locked for comments

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Triggering plugin on creation/updation of records through data import

    HI,

    Can you please provide more details like steps you registered. Have you checked plugin trace logs to see if logs are present after data import.

    Check you plugin logic to see if some data is missing during data import which is required for your plugin. Plugin may be running but because of some condition check in your code it is not going inside to do actual task.

    Please mark my answer verified if i were helpful

  • RE: Triggering plugin on creation/updation of records through data import

    My plugin is not triggering for  the data import in mscrm

  • CRMQueries Profile Picture
    CRMQueries 60 on at
    RE: Triggering plugin on creation/updation of records through data import

    Thank You!

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Triggering plugin on creation/updation of records through data import

    Hello,

    You can trigger the same plugin while Data Import or any Bulk Job but make sure, run your plugin Asynchronously to improve CRM performance.

    Cheers

    Arpit

    https://arpitmscrmhunt.blogspot.in

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Triggering plugin on creation/updation of records through data import

    Hi CRMQueries ,

    a plugin will work always, independently to input method (manual, workflow or import).

    Please let me know if you solve your doubt or if you have any other doubt.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • CRMQueries Profile Picture
    CRMQueries 60 on at
    RE: Triggering plugin on creation/updation of records through data import

    The plug in is triggered on creation, updation and deletion of child records and it updates fields on parent entity record. It is being triggered and working properly. I am concerned if the plug in will work in scenarios when child records are created or updated in bulk through data import.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Triggering plugin on creation/updation of records through data import

    Hi CRMQueries,

    you could trigger plugin when parent attribute change.

    Eg:

    Parent Entity: Order

    Child Entity: Order Detail (which has an "Order" field for its parent)

    If you trigger your plugin when Order attribute change, you could use it also for import create or update.

    Please let me know.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans