Deployment Guide – netDocShare Attach Extension SP19 Classic View

There are 2 ways to deploy WSP solutions:

  1. Using PowerShell and shell commands.
  2. Using SharePoint UI.

Deploy using PowerShell

    1. Extract the zip file.
    2. In the server open -> SharePoint 2019 Management Shell
    3. In SharePoint 2019 Management Shell execute the below command to add the solution package
      Add-SPSolution <FilePath>
      Replace the with <FilePath> with the extracted path of the file “ndsAttachExtn.wsp”
    4. In SharePoint 2019 Management Shell execute the below command to install the added solution
      Install-SPSolution ndsAttachExtn.wsp -GACDeployment
    5. Place the netDocShare License Key text file in the below location.
      https://<SITE_DOMAIN>/SiteAssets/netDocShareAttachExtension/netDocShareLicenseKey.txt
      Replace <SITE_DOMAIN> with the exact domain name.
    6. Now you can see the netDocShare Attach icon in the List Item Ribbon.

Deploy using SharePoint UI

Upload the WSP File to Solution Gallery and Activate the solution, use the following steps to deploy a WSP solution in the SharePoint Site.

    1. Log in as a Site Collection Administrator >> Navigate to your SharePoint Site Collection (Root Site) >> Click on “Site settings”.
    2. On the site setting page, click on the “Solutions” link under the “Web Designer Galleries” section. This opens the solution page as below screen. On the solutions page, Click on the “upload solution” button from the ribbon.
    3. Browse and select the WSP file from your local disk and upload the solution.
    4. After clicking on the “OK” button, SharePoint Uploads the WSP file and presents you a page from which you can activate the solution, as shown below. It takes a while to activate the solution.
    5. Finally, the solution will be activated in your SharePoint site!

There are 2 ways to retract WSP solutions:

  1. Using PowerShell and shell commands.
  2. Using SharePoint UI.

Retract using PowerShell

    1. In the server open -> SharePoint 2019 Management Shell
    2. In SharePoint 2019 Management Shell execute the below command to uninstall the solution package
      Uninstall-SPSolution ndsAttachExtn.wsp
    3. In SharePoint 2019 Management Shell execute the below command to install the added solution
      Remove-SPSolution ndsAttachExtn.wsp

Now you can see the netDocShare Attach icon is removed in the Item Ribbon.

Retract using SharePoint UI

Use the following steps to deploy a WSP solution in the SharePoint site.

    1. Log in as a Site Collection Administrator >> Navigate to Central Administration >> Click on “System settings”.
    2. On the system setting page, click on the “Manage Farm Solution”.
    3. In the Solution Management page, click on the solution “ndsAttachExtn.wsp”.
    4. In solution properties click on “Retract Solution”.
    5. Finally, the solution will be retracted in the SharePoint site!