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

[FEATURE] Convert a file in SharePoint to PDF. #3422

Closed
NishkalankBezawada opened this issue Sep 19, 2023 · 1 comment · Fixed by #3435 or #3643
Closed

[FEATURE] Convert a file in SharePoint to PDF. #3422

NishkalankBezawada opened this issue Sep 19, 2023 · 1 comment · Fixed by #3435 or #3643
Assignees
Labels
enhancement New feature or request

Comments

@NishkalankBezawada
Copy link
Contributor

NishkalankBezawada commented Sep 19, 2023

Solution Proposal
The solution is to convert a file in SharePoint to PDF.
A new command as Convert-PnPFileToPDF
The command should accept the file url (mandatory) and the target location (as optional) where the file should be saved.
If target location isn't specified, the file will be saved in one drive.

Will be working on this, and creating a PR soon.

*Save to Local
*Retrieve as Memory Stream
*Upload to SharePoint Library
*CheckInType
*Publish
*Approve

@Studermarc
Copy link
Contributor

This looks like a really nice addition. Would it be possible also to provide multiple files as input (e.g. an array of file urls) and merge them into one pdf file?

gautamdsheth pushed a commit to gautamdsheth/powershell that referenced this issue Dec 6, 2023
gautamdsheth pushed a commit to gautamdsheth/powershell that referenced this issue Dec 22, 2023
gautamdsheth added a commit that referenced this issue Dec 22, 2023
* Feature #3422 - improve file conversion code

* Update CHANGELOG.md

---------

Co-authored-by: Gautam Sheth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment