on 12-06-2017 8:57 PM
Hi,
We have recently migrated from SP18 to SP21 in Dev enviromnt and in Publishing Server, and some reports that work wiht export to RTF feature do not worked as it should after upgrade. Some part of data don´t was show in this new update SP21. Trying to verify if would be other kinds of err, we inspect our codes but don´t watch errs. Than, we tryied other methods from export to see if has some ligth at the tunnel's end. Happly in the PDF export method our report work fine, all the data appear on report.
Unfortunatly our client needs the report in edtitable version, thus, we was still searching from solution.
I searched on web but no one post from this issue.
Can someone help to understand the err or show the solution?
bellow an little pieces of our commented code, that we think be the critical part:
...
ExportOptions exportOpts = new ExportOptions();
PdfRtfWordFormatOptions pdfOpts = ExportOptions.CreatePdfRtfWordFormatOptions();
//exportOpts.ExportFormatType = ExportFormatType.RichText; << bad option 1
// exportOpts.ExportFormatType = ExportFormatType.WordForWindows; << bad option 2
exportOpts.ExportFormatType =ExportFormatType.PortableDocFormat; // << Option OK
exportOpts.ExportFormatOptions = pdfOpts;
reportDocument.ExportToHttpResponse(exportOpts, Response, true, "Cartaz_" + DateTime.Now.ToString("yyyyMMdd hh:mm"));
Thx 4all.
Bopp
It may be the same as this?
https://answers.sap.com/questions/321276/export-to-word-problem.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mikael,
It looks like the same problem, but in some of our reports there are no graphics that can cause problems. In the most critical, there are four sub-reports with text only, and yet the problem still occurs.
I will try to remove all graphical elements to see if work.
If you there´s some other tips I'll so glad.
Thx!
Bopp
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.