Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Generate PPT pages using Actuate V11 SP1
macroe
<p>Hi all,</p>
<p> </p>
<p>I'm trying to generate PPT using e.Report via V11 SP1.</p>
<p> </p>
<p>I've tested below cases, but all got the pht format not ppt format... Any one could advise?</p>
<p> </p>
<p>Case 1:</p>
<p> Submit the generation job via SOAP to generate the report to ROI then using below coding to get the PPT.</p>
<p> ViewParameter vp = new ViewParameter();</p>
<p> vp.setFormat("PPT");</p>
<p>....</p>
<p>gcr = proxy.getContent(c);</p>
<p>result = gcr.getContentRef().getContentData();</p>
<p> </p>
<p>Case 2:</p>
<p> On iServer Admin console, click the generated ROI, then Save report using PPT format.</p>
<p> </p>
<p>For both, I got the file with pht format, like:</p>
<p> </p>
<p>MIME-Version: 1.0</p>
<p>Content-Type: multipart/related;boundary="____Actuate_Content_Boundary___"</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
Find more posts tagged with
Comments
Clement Wong
<p>Have you opened a case with our Support team (<a data-ipb='nomediaparse' href='
http://www.actuate.com/resources/support/global-support-centers/'>http://www.actuate.com/resources/support/global-support-centers/</a>)
to see if it's specific to 11 SP1, or something has been corrupted in your environment? </p>
<p> </p>
<p>I have iServer 11 SP4 Fix 1, and am able generate a valid PPT from both the ROX and ROI in both Active Portal and Management Console in these scenarios:</p>
<p> </p>
<p>1. From Active Portal, ran the ROX and viewed the ROI. Clicked on Download in the toolbar. Selected Powerpoint.</p>
<p>2. From Management Console, ran the ROX and viewed the ROI. Clicked on Download in the toolbar. Selected Powerpoint.</p>
<p>3. From Management Console, scheduled the ROX to generate a Powerpoint.</p>
<p>4. From Management Console, scheduled the ROX, generated the ROI. Clicked on the ROI. Clicked on Download in the toolbar. Selected Powerpoint.</p>
<p> </p>
<p> </p>
<p>Attached are the ROX and ROI, and PPT, but you may not be able to run since you're using an earlier version that I am.</p>
macroe
<p>Hi Clement, Thanks for the reply and test. But I'm afraid you generated the same format as mine which the ppt can't open in powerpoint2010.
</p>
<p> </p>
<p>When you open the ppt you generated by notepad, you can see it's the xml format not binary format as ppt.</p>
Clement Wong
<p>The Powerpoint exporter for e.Reports is not as extensive as the one for BIRT. In commercial BIRT, native PPT tables and charts are created.</p>
<p> </p>
<p>For e.Reports PPT export, the support for Powerpoint is up to 2007. The actual "PPT" file generated is actually an .MHT file, and renamed as .PPT. Office 2007's Powerpoint can open the renamed "PPT" without any issues. Office 2010 cannot open, and throws an error.</p>
<p> </p>
<p>One workaround I tried on a machine that has Office 2010 is to rename the file from .PPT to .MHT, and then open with Powerpoint. At this point, you can Save As into the native PPTX or PPT format.</p>
macroe
<p>Thanks Clement, we made the workaround that rename it to .pht for powerpoint 2010, but... we realized that the format is not supported by powerpoint 2013 anymore. It's quite painful finding as our user would upgrade to 2013 early this year.</p>
<p> </p>
<p>In this case, for e.Reports PPT export, do we have any alternative? or we have to give up e.Reports for PPT generation?</p>
Clement Wong
<p>According to this (<a data-ipb='nomediaparse' href='
http://www.indezine.com/products/powerpoint/learn/interface/file-types-can-open-in-ppt2013.html'>http://www.indezine.com/products/powerpoint/learn/interface/file-types-can-open-in-ppt2013.html</a>)
, MHT is still supported in PowerPoint 2013.</p>
<p> </p>
<p>I don't have PowerPoint 2013 available to test, but have you tried?</p>
<p> </p>
<p>Of the top of my head, one other potential (crazy) workaround is to have a post process after the "PPT" is generated on the iServer. That is to have PowerPoint 2007 (if you have iServer running on Windows) open in the background using vbs so that it can open the MHT, convert and save as a native Excel file (PPTX).</p>
<p> </p>
<p>Or if you're really adventurous, we can possibly use the AcVisitor class and GetCustomFormat to do to a true PPT export.</p>