function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venki123Venki123 

Generated PPT is blank

Hi All,

 

I am trying to generate the PPT from salesforce. I tried the below code but it is giving balnk page. Can you anyone help me on this.

 

<apex:page standardController="Account" contentType="application/vnd.ms-powerpoint">
   <head>
   Testing
</head>
</apex:page>

 

Also if you have examples on how i can do the page breaks etc on ppt , Can you please post the examples. It will be very helpful for me.

 

 

Thanks and Regards,

Venki

bob_buzzardbob_buzzard
I don't think that specifying the cotentType as powerpoint is enough - your page will have to contain markup in the format expected by powerpoint.

Its the same concept if you specify a csv file - there isn't a translation applied by the browser, the page has to be in csv format.
Venki123Venki123

Hi bob_buzzard,

 

PPT is getting generated when i gave the contentType but it is empty...can you please suggest if there is another way to generate PPT in salesforce.

 

Thanks and Regards,

Venki