Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How to set multiple Enable Rule for any button of Ribbon using Ribbon Workbench 2016?

$
0
0

Hi,

I want to set 2 Enable Rule on 1 button. How can I set that? I have tried but it behave weird. 

I have following Enable Rules:

1- CustomRule: This will return value from JavaScript(.js) in True or False.

2- SelectionCountRule: This will show button if at least one record is selected.

If #1 is false, it should not check for #2. Currently, it execute #2 even #1 is False.

Is there any sequence of execution or both rule will be apply? I can set sequence if required. 

Please guide.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images