
Announcements
I have a create a ribbon from ribbon workbench for send mails but I want to display it for few views only how can I achieve that!
I have already created a JS where I am getting view id and based on viewed returning a true or false to ribbon workbench to make it visible.
but the problem is while the user the selecting new view. my JS run to get view id which is getting current view id not the selected view id after it refreshing the records but the ribbon is not displaying but if refresh this for now its will again get current view id (assume for this ribbon should to display ) and it will return true to ribbon workbench for display.
you see it should get selected view viewid not the already open viewid!
How I can I solve this problem thank you !
Note : I have added this ribbon button in Home as you guys know where we can see our view
Code : code in JS and calling it from ribbon workbench from custom rule