RE: Button not working on homegrid command Bar MS CRM 2016 online
Hi Manoj,
the problem can be caused by multiple issues, e.g.:
1. script not attached in a proper way to the enable rule
2. bug in script
What you can do is alter the script, and insert as first statement "debugger;"
save and publish the modification
from there on, open the developer tools in your browser (F12 in IE/Edge)
refresh the page.
The script should break on the debugger statement, allowing you to step through your code and place additional breakpoints inside in order to verify the script.
once done, you should remove the debugger statement from your script
for more information: www.w3schools.com/.../jsref_debugger.asp
Good luck
Bas