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
Shivangni Jain 20Shivangni Jain 20 

Need to generate ppt in Salesforce

Hi Team,
I need help there is one requirement on button click I need to generate ppt that is happening from vf page attribute content type but there are lot of sections and we need to decide which section should go to slide 1 of ppt which section section go to slide 2 and so on
How to do slide break.
VinayVinay (Salesforce Developers) 
Hi Shivangni,

There is a limitation in salesforce to generate ppt documents



I was able to do this using PptxGenJS library:

In order to download/save the file, take a similar approach outlined here for CSV's:

I had trouble loading the script though.  My issue (not with ChartJS which was working fine, but with PptxGen JS) was resolved by enabling Lightning Web Security (LWS).

Thank you Dmitry Bakovich 7!!

Andee Weir 17Andee Weir 17
Hey guys.  Has anyone got a simple working example of using PptxGenJS within LWC that they could share please?