PDF Editor for Sharepoint Installation Guide Online Extension

This guide outlines the installation steps and general administrative topics related to the PDF Editor for SharePoint Online extension.

Prerequisites

Before installing the PDF Editor for SharePoint Online web part, ensure you have all the required prerequisites — outlined below — installed on your computer.

  • Windows Permissions: Windows administrator privileges to run the installer (EXE).
  • Office 365 Permissions: Global administrator (or tenant administrator) privileges.
  • Node.js: You need Node.js installed on your computer.
  • SharePoint Online App Catalog: Make sure you have an app catalog in your tenant. If not, follow these instructions to create one.
  • A Vercel account: If you don’t already have one:
    • Open vercel.com
    • Click Sign Up and complete the registration.
    • Once you register for a Vercel account, open the Vercel CLI page.
    • Copy the following command and run it in the command prompt to install Vercel on your computer: npm i -g vercel
    • If you already have Vercel installed, use the following command to check its version and update it if necessary: vercel --version

Installing PDF Editor

To install PDF Editor for SharePoint Online, follow the instructions outlined in the next sections.

New Installation

  1. Download the installation archive and unarchive it to the folder of your choice.
  2. In that folder, find and run the PSPDFKit Editor for SharePoint Online (extension).exe file. Make sure you’re running the file as an administrator.
  3. When you launch the installer, it’ll prompt you to install the minimum version of the NuGet provider, along with modules from a repository. Agree to both of these to continue.
  4. In the PowerShell window, press 1 to perform a fresh installation.
  5. In the next step, enter your Office 365 login credentials (email and password). Be sure to enter your administrator credentials — not your user credentials — because you’ll need them to log in to your Azure account and create an app registration.
  6. Now, log in to your Vercel account using the PowerShell window. Use the login credentials you created during the registration step above.
  7. Once you log in to Vercel, go back to the PowerShell window and confirm the deployment by typing Y into the command prompt.
  8. Proceed with the default scope (which needs to be an account you’re using) as long as it matches the account you previously created.
  9. When asked if you want to link to an existing project, enter N.
  10. Next, give your new project a name (lowercase only).
  11. When asked in which directory your code is located, leave the field blank — it’ll automatically point to the root directory where the code is located.
  12. When asked if you want to modify settings, enter N.
  13. Now the installation will try to deploy your project to Vercel. You can always check its status on your account page on the Vercel website.
  14. In the next step, the installer will ask where you want to upload the app.
  • Press 1 to upload the app in the tenant app catalog.
  • Press 2 to upload the app in a site app catalog.

Uploading the App in the Tenant App Catalog

  1. To upload the app in the tenant app catalog, press 1.

  2. Enter your Office 365 login credentials (email and password). Be sure to enter your administrator credentials — not your user credentials — because you’ll need them to log in to your Azure account and create an app registration.

    You’ll be presented with a dialog asking you to consent to permissions required to run the PnP Management Shell. Once you agree, the app will be uploaded to the app catalog.

  3. You’ll then be asked if you want to deploy the app to all sites in the tenant. Choose Y.

Now that installation is complete, you can go back to the browser and log in to Microsoft Azure using your credentials for this project.

Once logged in, you’ll be redirected to a new page, which will open as a tab in your browser:

  • Azure API permissions tab

Granting Azure Permissions

On the Azure API permissions page, grant all permissions the PDF Editor file extension needs by clicking Grant admin consent. Once this is granted, your status will turn green.

Uploading the App in a Site App Catalog

  1. To upload the app in a site app catalog, press 2.
  2. Enter your Office 365 login credentials (email and password). Be sure to enter your administrator credentials — not your user credentials — because you’ll need them to log in to your Azure account and create an app registration. You’ll be presented with a dialog asking you to consent to permissions required to run the PnP Management Shell. Once you agree, the app will be uploaded to the app catalog.
  3. Next, enter your SharePoint site URL.
  4. In the next step, you’ll be asked if you want to create an app catalog for the SharePoint site. Enter Y.
  5. Then, you’ll be asked if you want to install the deployed app in the site’s app catalog. Enter Y.

Granting Azure Permissions

  1. On the Azure API permissions page, grant all permissions the PDF Editor file extension 01 needs by clicking Grant admin consent. Once this is granted, your status will turn green.

Installing the PSPDFKit Editor Extension App

Note: To install the PSPDFKit Editor extension app, you first need to deploy your external application (Vercel).

To install the PDF Editor for SharePoint Online extension, follow the instructions below.

  1. Download the installation archive and unarchive it to the folder of your choice.

  2. In that folder, find and run the PSPDFKit Editor for SharePoint Online (extension).exe file. Make sure you’re running the file as an administrator.

  3. When you launch the installer, it’ll prompt you to install the minimum version of the NuGet provider, along with modules from two repositories. Agree to all of these to continue.

    Note: If the NuGet provider and repositories are installed, this step won’t appear.

  4. In the PowerShell window, press 2 to install the PSPDFKit Extension.

  5. In the next step, the installer will ask you where you want to upload the app.

  • Press 1 to upload the app in the tenant app catalog.
  • Press 2 to upload the app in a site app catalog.

Uploading the App in the Tenant App Catalog

  1. To upload the app in the tenant app catalog, press 1.
  2. Enter your Office 365 login credentials (email and password). Be sure to enter your administrator credentials — not your user credentials — because you’ll need them to log in to your Azure account and create an app registration. You’ll be presented with a dialog asking you to consent to permissions required to run the PnP Management Shell. Once you agree, the app will be uploaded to the app catalog.
  3. In the next step, enter the SharePoint tenant URL, e.g. https://tenant.sharepoint.com
  4. In the next step, you’ll be asked if you want to deploy the app to all sites in the tenant. Enter Y.
  5. Next, it will ask if you want to change where the external web application is set to. Enter N.
  6. On successful installation, it will open the SharePoint app catalog site in the browser.

Uploading the App in a Site App Catalog

  1. To upload the app in a site app catalog, press 2.
  2. Enter the SharePoint tenant URL, e.g. https://tenant.sharepoint.com It will upload the app to a site app catalog.
  3. Next, it will ask if you want to change where the external web application is set to. Enter N.
  4. On successful installation, it will open the SharePoint app catalog site in the browser.

Updating the External Web Application and/or License Key

  1. Run the PSPDFKit Editor for SharePoint Online (extension).exe file in the folder. Make sure you’re running the file as an administrator.
  2. In the PowerShell window, press 4 to update the URL of the external web application.
  3. Log in to your Vercel account using the PowerShell window. Use the login credentials you created during the registration step above.
  4. Once you log in to Vercel, go back to the PowerShell window and confirm the deployment by typing Y into the command prompt. Then, enter your PSPDFKit Editor license key.

Updating the URL of the External Web Application

  1. Run the PSPDFKit Editor for SharePoint Online (extension).exe file in the folder. Make sure you’re running the file as an administrator.
  2. In the PowerShell window, press 3 to update the web application and/or the license file.
  3. In the next step, enter the SharePoint tenant URL. If you haven’t yet, you must enter your Office 365 login credentials. Be sure to enter your administrator credentials — not your user credentials — because you’ll need to log in to your Azure account and create an app registration.
  4. Enter the URL of the external web application and press Enter.

Uninstalling PDF Editor for SharePoint

To uninstall PDF Editor for SharePoint, all three parts of the solution — the Azure app registration, the SharePoint extension, and the Vercel application — need to be removed. The next sections outline how to do that.

Removing the PSPDFKit App Registration

  1. Run the PSPDFKit Editor for SharePoint Online (extension).exe file in the folder. Make sure you’re running the file as an administrator.
  2. In the PowerShell window, press 5 to remove the PSPDFKit App Registration from Azure.
  3. In the next step, enter your login credentials (email and password).

Be sure to enteryour administrator credentials — not your user credentials — because you’ll need to log in to your Azure account to delete the app registration.

The script will clean up applications from tenant tenant.onmicrosoft.com and remove the web app PSPDFKit Editor if it’s present.

Removing the SharePoint Extension

  1. Run the PSPDFKit Editor for SharePoint Online (extension).exe file in the folder. Make sure you’re running the file as an administrator.
  2. In the PowerShell window, press 6 to uninstall the PSPDFKit Editor extension app.
  3. In the next step, the installer will ask you from where you want to remove the app.
    • Press 1 to remove the app from the tenant app catalog.
    • Press 2 to remove the app from the site app catalog.

Removing the Extension from the Tenant App

  1. Press 1 to remove the app in the tenant app catalog.
  2. You’ll be prompted to enter the SharePoint site URL, https://tenant.sharepoint.com/sites/sitecollectionname
  3. Enter your Office 365 login credentials (email and password). Be sure they’re your administrator credentials and not your user credentials. You’ll be prompted to enter the SharePoint site URL, https://tenant.sharepoint.com
  4. The PSPDFKit Editor app will successfully be removed from the tenant app catalog.

Removing the Extension from the Site App

  1. Press 2 to remove the app from the site app catalog.
  2. Enter the SharePoint tenant URL, e.g. https://tenant.sharepoint.com. It will upload the app to a site app catalog.
  3. Enter your Office 365 login credentials (email and password). Be sure they’re your administrator credentials and not your user credentials.
  4. After being prompted to confirm uninstallation, enter Y. The PSPDFKit Editor app will successfully be removed from the site app catalog.

Removing the Vercel Application

  1. Open your browser and log in to vercel.com
  2. Navigate to the Project Overview page of the project where the specific deployment is located.
  3. Select the project list and choose Settings.
  4. Scroll down to the bottom of the page and click Delete. Enter the project name in the first field, and type delete my project in the second field.

WARNING: Deleting an individual deployment is a permanent, irreversible action.

Have a Question?
We’re Always Happy to Help.

© Muhimbi Ltd. 2008 - 2024
This website uses cookies to ensure you get the best experience. Learn more