Hello
i want to run a report with feature "Run report" in ribbon workbench
i created a button and give it the name of the report the problem is when i click on it it execute a rondom report not the one i want but when i run my report from the out of box area it work well
should i pass parameters to my button if yes how can i do this
*This post is locked for comments
We found the solution in this reported issue: github.com/.../28
What we have to do is replace the Ribbon Javascript.
Create a new solution and add the JS named "dev1_/js/SmartButtons.ClientHooks.js". Then change the report URL in line 2096:
OLD LINE: '/crmreports/viewer/viewer.aspx?action=run&id=%7b'+encodeURIComponent($1_2)+'%7d&records=%7b'+recordId+'%7d&recordstype='+etc;
NEW LINE: '/crmreports/viewer/viewer.aspx?action=run&context=records&id='+encodeURIComponent($1_2)+'&records='+recordId+'&recordstype='+etc+'&helpID='+reportName;
That solved my problem!
Hi,
have you solved this problem? We're facing the same issue.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6