I use Microsoft Dynamics CRM 2013 and I have requirement to show hide command bar button based on a selected view. I found that I can use custom JavaScript 'Enable Rule' to dynamically show hide command bar buttons. But I did not found any supported client side SDK methods to get selected view information other than accessing DOM.
Is there any supported client side SDK methods to get the selected view information in Dynamics CRM 2013?
Thanks in advanced!