Here is the context of my issue:
I am using SQL Reporting Services and Report Builder to create and generate reports. Inside my InTouch Wonderware application (supervision software), I use an WebBrowser Microsoft.NET symbol to display and generate the pdf reports by the use of URL access function.
From here, everything is going right!
I am stuck on the last point : I want to save the pdf report with automatic naming but I cannot find the way.
For information, the WebBrowser used is Microsoft Edge. The example of URL access is : http:/namePC/ReportServer?/BatchReport¶meter1=123456&rs:Format=PDF
The automatic name could be : BatchReport_NumberofBatch.pdf ( following example : BatchReport_123456.pdf)
Does anyone have an idea how to auto-name and save(or print) report directly from InTouch Application?
Best regards,
I tried 2 options to solve the issue:
1/ With URL access, I am stuck at the saving step : cannot find a way to automatic naming pdf file when confirm saving/download destination
2/ In the Wonderware environment, I try to use the WebBrowser.Print() function to print the HTML page (URL access to view the report with good parameters) and use WIN2PDF to play with auto-naming. I am not far of the solution but the formatting of the document is NOT good (header / footer at the wrong place, superposition of arrays etc.).