locked
How to call javascript function from existing ribbon button + crrm 2011 RRS feed

  • Question

  • I want to call javascript function on click of existing ribbon button ( Not new button)  of  lead form.

    Any help?

    Thursday, April 14, 2011 2:03 PM

All replies

  • Generally the advice is to not override the functionality of an existing button, since it makes installing other solutions able to stomp on changes you've made. Probably better to use the Ribbon XML to hide that button, then create a near identical custom one that executes your web resource. Your other option is to use the Ribbon XML to override the functionality of the existing button. If you download the CRM 2011 SDK, there is a guide in the walkthroughs\ribbon section I believe.
    Thursday, April 14, 2011 2:29 PM