Hi Experts,
I am developing a SharePoint Hosted App and am stuck in customization of Button in Ribbon Tab. I have added a custom tab on Document Library page with 3 buttons and want to:
1. Enable/disable them on the basis of document selection. I tried calling JavaScript in EnabledScript tag but it seems to be not working. Â
2. Secondly, I want to call JavaScript code on click of each button but when I am calling JavaScript in CommandAction tag of Custom Ribbon Action I can not deploy the project.Â
I will be grateful if anyone of you could let me know how to achieve the above two functionality in a SharePoint Hosted App.Â
Thanks in advance.
Haroon
(Visited 27 times, 1 visits today)