Hi,
I'm trying to create a c# or js code that captures an html code and transforms it into a pdf, could anyone help me with this process?
thankful,
Felipe
Yes, I need the code because I don't want the user to save the file on one drive, but rather that the file is downloaded directly to the machine.
Hi Felipe,
This needs to be accomplished with code? Last time I had that requirement I used Power Automate, there is a Convert action in One Drive For Business that allows transform a file in multiple type of files, one of them HTML.
If you are creating that HTML file in C# you can still use this option, you can put that code inside of an Action, so Power Automate that call that action that returns a HTML string, save that HTML string as HTML file in One Drive For Business and afterwards convert the file to PDF.
Thank you,
Pedro Azevedo
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156