For example you can't just use the Mscrm.SelectionCountExactlyOne rule to determine if there is only one record selected in a grid. Instead you have to do the following; Pass in the CrmParameter called SelectedControlSelectedItemCount and then check to make sure that parameter equals one in your JS code.
I really don't like the ribbon schema. It's confusing and the rules that apply to buttons you create don't always seem to apply to the ones that come out of the box, which makes it extremely hard to troubleshoot sometimes just using the output from the ribbonXmlExporter included in the SDK.
Here is an example of someone who has an example of what I described.
http://howto-mscrm.blogspot.com/2011/04/how-to-series-6-how-to-use-customrule.html
Here is an example of someone who has an example of what I described.
http://howto-mscrm.blogspot.com/2011/04/how-to-series-6-how-to-use-customrule.html
0 comments:
Post a Comment