I found a web part to show and print PDF docs from SharePoint, and it seems to support the swipe gesture too. The code is for SPFx v1.12. I'm thinking about upgrading to v1.16 first.

What would I need to do? Is it complicated? Here's the link, just for reference --> SPFx PDF web part code.

  • Hi @Thomas, does my below response answers your question? If yes, please Upvote(^) and accept as an Answer as it helped you & it will help others with similar question in future to find the correct answer easily. It also removes this question from "Unanswered questions" list. Commented Jun 19, 2023 at 10:55

1 Answer 1


You can use CLI for Microsoft 365 to upgrade your SPFx project/solution to latest SPFx version.

You have to use project upgrade command for the same like:

m365 spfx project upgrade [options]

Check below links for details steps for same:

  1. Upgrading SPFx solutions to the latest version using the CLI for Microsoft 365
  2. How to upgrade your SPfx project to the latest version, and how to fix/avoid common issues

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.