Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

New parameter on SSRS report not working

(0) ShareShare
ReportReport
Posted on by 1,665

Hi everyone

I've added a new boolean parameter to an existing SSRS report, but when I run the report, the parameter's value isn't recognized at all. ie. The report doesn't react to the value of the parameter, and when I create a text box on the report that outputs the value of the parameter, it's always null. What am I doing wrong or missing?

The steps I took are:

- Duplicated the report

- Created an extension of the contract class and added the parameter there

- Created an extension of the UIBuilder class and handled certain events of the new parameter there. This code works. When I open the initial dialog of the report, everything works properly.

- I refreshed the datasource on the report. Doing this did NOT automatically pull the new parameter on to the report. No matter what I do, I can't get the report to pull the new parameter onto the report automatically. So I created this parameter manually, and gave it the same name as it's name attribute in the contract class. I also set the allow blank and nullable properties to true.

- I've compiled, done model compiles, report deployments, report server restarts a million times, but I can't get this parameter to pull through. It is always nullable.

Any ideas?

Thanks

  • Bharani Preetham Peraka Profile Picture
    3,524 Moderator on at
    RE: New parameter on SSRS report not working

    But have you changed the code in the class? I mean in the dp class? And have you debugged that?

  • Suggested answer
    Mohit Rampal Profile Picture
    12,538 Moderator on at
    RE: New parameter on SSRS report not working

    Hi, Check this article and instead of refreshing Dataset of report, try adding parameter manually.

    ax.docentric.com/.../

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Jahanvi Profile Picture

Jahanvi 34

#2
PJ JohnPaul Profile Picture

PJ JohnPaul 5

#3
SudhanshuMSID Profile Picture

SudhanshuMSID 1

Overall leaderboard

Product updates

Dynamics 365 release plans