Hi,
We are using Stimulsoft Web MVC version as a micro-service.
Wish to know is it possible to Export Reports, but to go through an API Gateway ?
example when press Export button, it will open a new tab with the url
http://reports/...
instead we would like it to use gateway like below
http://gateway/reports/...
Thanks
Using API Gateway
-
- Posts: 6244
- Joined: Tue Mar 20, 2018 5:34 am
Re: Using API Gateway
Hello,
You can use the following code:
Report.Render(false);
Report.ExportDocument(StiExportFormat.Pdf, stream);
and then use stream as you need
Thank you.
You can use the following code:
Report.Render(false);
Report.ExportDocument(StiExportFormat.Pdf, stream);
and then use stream as you need
Thank you.