MSCRM Search Plugin c# RRS feed

  • Question

  • Hi , 
    i need to write a plugin on Home page search button click.
    Can you please guide how to achieve using c# sample code. 
    Friday, July 31, 2015 6:19 AM

All replies

  • Hello,

    Sorry but I was not able to understand your scenario based on your initial description. Could you please provide more details - what is your goal and how you want to use C# (that's mostly server-side code) on clientside?

    Dynamics CRM MVP
    My blog

    Friday, July 31, 2015 6:28 AM
  • Hi,

    I don't believe there is a server side event that will capture the "search button click". Typically plugin's only fire when records are created or fields changed etc.

    Karlo Swart Ver206
    V206 Mail

    Friday, July 31, 2015 1:38 PM
  • Hi Andrii Butenko,

    Consider , a user goes to Account Home Page and in Search Box if the user types some key word , i need to capture thous search parameter value and need to add some extra logic for the search and then return to the output parameter as Entity collection.

    please Guide how to achieve. 


    Monday, August 3, 2015 1:00 PM
  • Hello,

    In this particular case the only way is to develop a plugin that will handle RetreiveMultiple message. There is no way to differentiate where the plugin was called from if you work with CRM Online or/and you have to use sandboxing of plugins.

    Good luck.

    Dynamics CRM MVP
    My blog

    Monday, August 3, 2015 1:20 PM