{"id":214,"date":"2009-03-13T06:43:00","date_gmt":"2009-03-13T01:13:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=214"},"modified":"2009-03-13T06:43:00","modified_gmt":"2009-03-13T01:13:00","slug":"new-plugin-messages-made-available-by-microsoft-in-dynamics-crm-4-0","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2009\/03\/new-plugin-messages-made-available-by-microsoft-in-dynamics-crm-4-0\/","title":{"rendered":"New Plugin Messages made available by Microsoft in Dynamics CRM 4.0"},"content":{"rendered":"<div align=\"justify\"><strong><u>Execute<\/u><\/strong>: The execute event always gets fired when you open the views. Like from Main application view, lookup view, Advanced search view etc. (but not from associated views).<br \/>While registering this event, no primary entity name is required.<br \/><u>Input parameter<\/u>: fetchxml &#8211; The fetchXML query sent.<br \/><u>Output parameter<\/u>: fetchxmlresult &#8211; The resultant records of the fetchXML query<\/p>\n<p><strong><u>Retrieve<\/u><\/strong>: The event is available for each of the entities like account, contact, custom entities etc. When user opens CRM record (CRM form) this event is fired<br \/><u>Input parameter<\/u>: columnset &#8211; the attributes requested in the Retrieve Message<br \/><u>Output parameter<\/u>: businessentity &#8211; The resultant business entity found.<\/p>\n<p><strong><u>Retrieve Multiple<\/u><\/strong>: The event will fire when user goes to associated view of Contacts or Custom entities that do not use the Rollup message. So it works for all associated views that does not provide the \u201cRelated Regarding Records\u201d option.<br \/><u>Input parameter<\/u>: query &#8211; Query passed to the Retrieve Multiple message<br \/><u>Output parameter<\/u>: businessentitycollection &#8211; The resultset business entity collection.<\/p>\n<p><strong>Rollup message <\/strong>can be used for associated views that provide the option of displaying related records. However the Plugin registration tool does not provide for registering on the Rollup message. So that is something we still need to find out how it works.<\/p>\n<p><strong><u>Route<\/u><\/strong>: Route event gets fired when any of below entity instance moves from one queue to another.<br \/>Appointment<br \/>CampaignActivity<br \/>CampaignResponse<br \/>Email<br \/>Fax<br \/>Incident<br \/>Letter<br \/>PhoneCall<br \/>ServiceAppointment<br \/>Task<\/p>\n<p>For email entity new events introduced are,<br \/>Assign, BackgroundSend, CheckIncoming, CheckPromote, Create, Delete, DeliverIncoming, DeliverPromote, DetachFromQueue, GrantAccess, Handle, ModifyAccess, Retrieve, RetrieveMultiple, RetrievePrincipalAccess, RetrieveSharedPrincipalsAndAccess, RevokeAccess, Route, Send, SendFromTemplate, SetState, SetStateDynamicEntity, Update<\/p>\n<p>So with Dynamics CRM 4.0 Microsoft has given greater control to the developers to trap appropriate messages and perform custom actions. <\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Execute: The execute event always gets fired when you open the views. Like from Main application view, lookup view, Advanced search view etc. (but not from associated views).While registering this event, no primary entity name is required.Input parameter: fetchxml &#8211; The fetchXML query sent.Output parameter: fetchxmlresult &#8211; The resultant records of the fetchXML query Retrieve:\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2009\/03\/new-plugin-messages-made-available-by-microsoft-in-dynamics-crm-4-0\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,42],"tags":[1325],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","category-plugin","tag-plugin-messages"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}