Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Ribbon Workbench smart button "run report"

(0) ShareShare
ReportReport
Posted on by 365

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

62053.Capture.PNG

*This post is locked for comments

  • Verified answer
    RominaARG Profile Picture
    26 on at
    RE: Ribbon Workbench smart button "run report"

    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!

  • RominaARG Profile Picture
    26 on at
    RE: Ribbon Workbench smart button "run report"

    Hi,

    have you solved this problem? We're facing the same issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans