Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Unable to see report p...
Finance forum
Suggested answer

Unable to see report parameters in report dialog on customized report

Posted on by 15
Good day,
 
Im trying to customize a standard report (TaxReport) to add extra fields.
 
I replicated the report (TaxReportCopy)  and extended the controller class (TaxReportingControllerExt) and added the following code:
 
class TaxReportingControllerExt extends TaxReportingController
{
    public static TaxReportingControllerExt construct()
    {
        return new TaxReportingControllerExt();
    }

    public static void main(Args _args)
    {
        SrsReportRunController formLetterController = TaxReportingControllerExt::construct();
        TaxReportingControllerExt controller = formLetterController;
        controller.parmReportName(ssrsReportStr(TaxReportingCopy, Report));
        controller.parmArgs(_args);
        controller.startOperation();
    }

    
}
 
 
I created a new menu item from which I referenced my controller class class.
 
However, upon running the report, report parameters are not showing on the report dialog as expected. There's the option to filter records using the query but the parameters are definitely not showing like the standard report is doing.
 
The report is using the RDP(TaxReportingDP) and Contract(TaxReportingContract) class for the standard report.
 
It's displaying data but the parameter selection is not showing when the report dialog is displayed.
 
Please assist me.
  • Waed Ayyad Profile Picture
    Waed Ayyad 3,802 on at
    Unable to see report parameters in report dialog on customized report
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 3,802 on at
    Unable to see report parameters in report dialog on customized report
    Hi,
     
    1- Check the "Dynamic Filters" property in your dataset it should be True.
    2- Try to do full build for your model, synchronize database and deploy the report. 
    3- Clear usage data.
    4- Restart IIS.
    5- Restart SQL Server Reporting Service.
     
    Thanks,
    Waed Ayyad
     If this helped, please mark it as "Verified" for others facing the same issue
    ​​​​​​​
  • Layan Jwei Profile Picture
    Layan Jwei 4,753 Super User on at
    Unable to see report parameters in report dialog on customized report
    Hi,
     
    Can you try to build your model and deploy your report again?
     
    Also did you try clear usage data?
     
     
  • Tapiwa_Louis Profile Picture
    Tapiwa_Louis 15 on at
    Unable to see report parameters in report dialog on customized report
     
    I did not create a new RDP class. Just the controller extension as I just wanted to change the layout and add a few fields later. So, in short, its using the RDP(TaxReportingDP) and Contract(TaxReportingContract) class for the original report.
     
    It's displaying data but the parameter selection is not showing when the report dialog is displayed.
     
  • Layan Jwei Profile Picture
    Layan Jwei 4,753 Super User on at
    Unable to see report parameters in report dialog on customized report
    Hi,
     
    Did you create a new RDP? Does your RDP class has this attribute SRSReportParameterAttribute(classStr(YourContractClass))]?

    Share with us ur code please to help more. And maybe try to clear usage data if you think you defined the contract properly.
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Waed Ayyad Profile Picture
    Waed Ayyad 3,802 on at
    Unable to see report parameters in report dialog on customized report
    Hi,
     
    Can you show the code of the contract class, UI builder if any and the DP class code? did you make extensions of it? It seems you created new report? you don't use the same report with a new design? Does your report now is returning data?
     
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans