web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Execute Plugin or C#-Program from Ribbon-button.

(0) ShareShare
ReportReport
Posted on by 155

Hi.I want to know how to executing plugin(or  program written by C# )  from ribbon-button of CRM2011.

Best regards.

*This post is locked for comments

I have the same question (0)
  • Vijay Waghmare Profile Picture
    on at

    You can execute plugin code using ribbon button event, create a JS web resource and add it to ribbon and in button click action function you can have a retrieve multiple call on dummy entity.

    Create a plugin and register it on retrieve multiple event of that dummy entity to trigger.

    JS retrieve multiple will internally trigger plugin retrieve multiple event registered on dummy entity.

    Hope this help.

    Thanks,

    Vijay Waghmare

  • kappa_do2001 Profile Picture
    155 on at

    Thank you for your reply.

    Then,Can I get form data in  plugin?

    Best regards.

  • Verified answer
    Vijay Waghmare Profile Picture
    on at

    Yes, you can get data in plugin. Pass filter condition from REST JS retrieve multiple. And in plugin you can this in context.inputparameter["Query"] as queryexpression. By using this information you can get related data through plugin.

    Thanks,

    Vijay Waghmare

  • kappa_do2001 Profile Picture
    155 on at

    Thank you for your reply,and great help.

    I"ii try it.

    Best regards.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans