locked
To fire plugin when opening mscrm RRS feed

  • Question

  • Hi guys,

    My requirement is to send alert mail to all the accounts with some specific conditions, So I decided to write a plugin when any user opens mscrm web but I am not aware of what message and entity to use. I have registered it while opening an existing account but thay need it to be written only when opening. please guide me (boopeshbabud@zsl.com)

    Thanks in advance

     

    Wednesday, September 7, 2011 2:35 PM

Answers

  • Following are the messages when a user tries to retrive the records /access views.

    context.MessageName == "RetrieveMultiple"

    context.MessageName == "Retrieve"

    Please check whether this fits your scenario.

    You may be able to register  this to entity(s) that you know the user would access  (account ?) and have your email logic.

    Wednesday, September 7, 2011 4:00 PM
  • There isn't really a message to latch onto for a plugin I am afraid.   You could have a script in a dashboard that fires when the dashboard is loaded and calls a web service on the same server to perform operations in .net, or if the dashboard is exposing a web application it could perform operations in .NET on it's own even. 
    Jamie Miley
    Check out my about.me profile!
    http://mileyja.blogspot.com
    Linked-In Profile
    Follow Me on Twitter!
    Wednesday, September 7, 2011 2:41 PM
    Moderator

All replies