2

I add ribbon button in my entities form XrmToolBox via Ribbon Workbench plugins, I already publish my change to that form but when I refresh my page there is still no button that I already created.

My another question is how to add action to that button via plugin? I found some answer on the internet but still not 100% understand, first we create Action in our CRM so we can add it in plugin registration but what I'm still don't understand how to tell that action belongs to my ribbon button. Can anyone help me?

4

2 回答 2

3

If the new custom ribbon button has no command associated it will not show, other reason could be cache, try to clear it and check again.

于 2018-07-26T12:04:44.663 回答
1

You can execute Custom Action like any Workflow from Ribbon/command bar button. For that you can use Smart button in Ribbon workbench. Read more

The plugin registration you are talking about is something what will trigger & can be used in pipeline when this Action executes. For every Custom Action - you will get a Plugin message to register against.

Assume you have an Incident, you want to quickly resolve it in single click - you can create custom action called 'Quick Resolve' which will close the incident with default resolution. Let's say on quick resolution, you want to pull all the related child incidents & close everything, then register a plugin on 'Quick Resolve' message & you can write code to pull/close all the child incidents inside plugin.

于 2018-07-26T19:52:47.197 回答