Skip to Content
0
Former Member
Jul 20, 2016 at 06:28 PM

How to set default value to a parameter in sub-report using .Net SDK

530 Views

Hi,

We have a main report and a sub-report. The sub-report has two parameters, one of them has a default value. The main report has only one parameter and it is linked to the non-default parameter in sub-report. When we try to load and export the main report using .Net SDK, we only pass the required parameter to main report. We don't want to pass the 2nd parameter to the sub-report since it should take its default value.

However the code throws a Missing Parameter exception, which is caused by the default parameter from the sub-report.

Is there a way to pass the default to the sub-report?

Thanks.