Wednesday
Does Crystal Reports 2025 .NET runtime support dynamic runtime subreport import/replacement equivalent to CRAXDRT ImportSubreport()?
Request clarification before answering.
Also...
See my Parameter test app, drop down list has functions to add a subreport plus link it.
Main info page:
https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html?locale=en-US&ai=true
And this area:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, the .NET SDK does not have a direct 1:1 functional equivalent to the legacy COM-based CRAXDRT.ImportSubreport(). The standard workaround is to use the Report Application Server (RAS) SDK (available within the Visual Studio runtime) to access the SubreportController.ImportSubreport() method.
Most developers handle this by placing a "placeholder" subreport in the template and then using the RAS SDK to programmatically overwrite it with an external .rpt file at runtime. If you are scaling this in a high-availability environment, I’d recommend using contract-first testing to ensure the schema of the imported subreport doesn't break the main report’s data contracts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.