Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to get react-command-convert-to-pdf to export site pages? #457

Open
webbrewer opened this issue Apr 19, 2022 · 2 comments
Open

Any way to get react-command-convert-to-pdf to export site pages? #457

webbrewer opened this issue Apr 19, 2022 · 2 comments

Comments

@webbrewer
Copy link

Sample

react-command-convert-to-pdf

Author(s)

wobba

Question

Works for html files but not aspx....which is what I really need (without having to convert all my pages to aspx).

@ghost
Copy link

ghost commented Apr 19, 2022

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@matherm-aboehm
Copy link

matherm-aboehm commented Aug 31, 2022

You probably need a browser-like web engine to execute the JS for any client side dynamic content of the aspx page and then use this output DOM to save it as static html page in SharePoint. After that you can use the normal html to pdf conversion of this extension.
There is a NodeJS module for this purpose, which was mentioned in this superuser thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants