locked
Trigger code off of "Run Report" RRS feed

  • Question

  • We need to run some custom code whenever an Invoice Report is run. For example, once the user has clicked the "Run Report" button and selected a custom Invoice Report, we would like to change the statecode and statuscode fields on the related Invoice.

    Is there any way to trigger a plugin off the printing of a report?  If not, can JavaScript be triggered when the user selects a report from the Run Report dropdown?

    Wednesday, December 11, 2013 6:02 PM

All replies

  • Hello,

    This can't be done. But what you can do is:

    1. Develop a script that will disable a record and run a report.

    2. Add own button (like Disable Record and Run a Report) to a ribbon.


    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

    Wednesday, December 11, 2013 6:19 PM
    Moderator