User Guide – netDocShare app for Microsoft 365 SharePoint Online / SharePoint Server 2019 / SharePoint Server 2016

This guide is a general overview of how to use and configure the netDocShare SPFx Web Parts designed for SharePoint Online, and SharePoint on-Prem for 2016 and later. It is important to note that the SharePoint framework (SPFx) is not compatible with SharePoint environments older than SharePoint 2016. Specifically, SPFx requires the “Feature Pack 2” update which comes with SharePoint 2016.

If you would like to use netDocShare WebParts for SharePoint 2013 on-Prem environment, we provide a different Visual Webpart solution that has the correct compatibility to support older environments. This documentation also does NOT cover the installation and usage of netDocShare on Microsoft Teams, please consult our documentation for the Teams App for more info.

netDocShare WebParts can be configured and customized in several ways to show the most appropriate documents and containers for a respective user or situation. These Web Parts include *:

  1. netDocShare Auth
  2. netDocShare Document Viewer
    • Normal View
    • RecentDocs View
    • Saved Search View
    • My Checked Out Documents
    • My Email Files
    • Favorites View
    • Go to Client/Matter View
    • netDocShare Hybrid

*On-Premises deployments will instead come with a universal Doc Viewer webpart which can be converted into all the above webparts by changing the webpart configuration. NDS hybrid is only available through extra license purchase.

Classic vs Modern pages – netDocShare WebParts can be used on both classic and modern pages. This guide mostly focuses on classic but has several sections that feature modern screenshots prominently. Please look for sections entitled “Classic vs Modern”, which should be at the end of every section of instructions.

This is not a guide for deploying the SPFx WebParts to SharePoint. This documentation assumes that an Admin user has already deployed the SPFx project into the Site Collection’s App Catalog and the webparts are ready to use. If you need help with deployment, please see our documentation entitled “End User Guide for Deploying SharePoint Webparts”.

This guide also does NOT cover the how to use the netDocShare Admin App which focuses on storing global Configurations so that users can have defaults that are universally applied. Please see the “NetDocShare Admin App User Guide” for this information.

Note: Site Collection Libraries MUST be able to host JSON and JS files or else deployment will fail. Any security measures that block Popups or iFrames must be turned off as our authentication uses these resources. Please see the auth section for an alternative workaround which uses ‘redirect’ authentication.

Supported Browsers:

  • Microsoft Edge
  • Google Chrome (latest released version)
  • Mozilla Firefox (latest released version plus immediate previous version)
  • Apple Safari (latest released version)
  • Internet Explorer 11 (limited support only. IE11 Protected Mode is not supported)

Not Supported Browsers:

  • Internet Explorer 10
  • Internet Explorer 9
  • Internet Explorer 8
  • Internet Explorer 7
  • Internet Explorer 6

netDocShare comes with a unique license ID which will be verified on load. If you receive a message saying “Invalid License” this means that the App was able to load successfully but it was not able to retrieve your licensing info.

When receiving our netDocShare deployment materials, you should also have received a netDocShareLicenseKey.txt file. This file contains your unique key which will activate netDocShare and the specific features that you have requested. In order to activate, simply drop the key file, which we have provided, into the library where our assets were deployed. Neglecting this step will yield licensing errors and will not allow usage of the app.

For Sharepoint Online:


For Sharepoint On-Premises:


Attempting to use the app without putting in the license key will be able to yield the exact path in an error message similar to the one shown below:

All the WebParts included in this project have a few global features that are common among components regardless of which view you are using:

NetDocuments REST API service:

The WebParts feature automatic authentication once a user has logged in once, in the same browser. This state will last for 24-48 hours upon active usage or 60 minutes when idle, unless the browser resets its local storage cache. Authenticated users can query any documents or source locations that they have permission to access on NetDocuments. Users are also able to execute actions that make changes to the documents, such as add/remove favorite or Uploading a new document to a location.

API Call Filtering:

All components can receive “filter” values in the AppConfig Object that will filter the results returned by the REST API calls. Filter values are based on the Standard attributes of documents, folders or any other entity from NetDocuments. These case-sensitive attributes are listed further below.


All WebParts feature a search bar in the top right corner, that can be used to filter through contents or search through all containers that are set as document sources. More about this feature can be found in the section on Search.


Each document has a corresponding “star” icon which will display an orange star if the document is favorited by the current user or a gray star if not. Clicking on these stars in any WebPart will toggle the “favorited” state of the document, which will be reflected in All user favorites can be seen by using the “Favorites” view. More about this in the “Favorites” viewtype section.

Configurable table view:

All components have configurable table columns which you can include in the initial AppConfig Object. Column data is based on the standard attributes that exist on each NetDocuments entity. These attributes can be found in our appendix.

If you omit the values for ``columnProperties``, our webpart will use the default properties: id, extension, createdBy and modified. This can be changed by editing the JSON manually or picking the values from the corresponding dropdown menus in the config Builder.

Starting from v2.4.2 users are able to automatically query Custom column properties in the config builder using the “Get All Columns” button. For more info on this, please the section on “Dynamic Data Columns”

Users are able to fully control the columns that are displayed including re-sizing and rearranging columns. please the section on “Dynamic Data Columns” for more info

If you omit the values for ``contextMenu``, our webpart will select all available menu options by default. This can be changed by editing the JSON manually or picking the values from the corresponding dropdown menus in the config Builder.


Documents can be sorted and reverse-sorted by clicking or double-clicking on the column property-title by which you want to sort. Each WebPart also comes with a ‘defaultSortProperty’ that can be used to determine which data column the component will use to sort by default. These properties are based on the standard attributes that exist on each NetDocuments entity. These case-sensitive attributes are listed further below.

Customizable logo:

The netDocShare logo on the top left of each WebPart view is customizable. Users can choose to display the logo or not using a config value called “mainLogoShow”, setting it to true will show a logo, false will hide it. Users can also replace the logo with a custom one: Navigate to the assets folders where the static assets are being retrieved. Here you will find a file called “mainLogo.png”. Users can replace this file with another image of their choice. On SharePoint Online, this will be in the CLIENTSIDEASSETS folder inside the App Catalog site collection. In SP on-Prem, this will be located in https://yourTenant/SiteAssets/images/folderIcons/. Replace “yourTenant” with the name of your SharePoint tenant.

Export to Excel:

Every view will show an excel icon on the far right of the search box component. Users can click this button to immediately generate an excel spreadsheet of the current container’s contents.

View Document:

All documents displayed in a WebPart, upon click, will (by default) open the document’s profile page on the NetDocuments site. This default click behavior is customizable using your config options. Please see our section on config options to customize this behavior. There are a few different behaviors that users can select:

Open in NetDocuments (default):

By default, clicking on any document will open the document’s page in the website


This will execute the default click behavior and also open a full screen preview of the document in a new window

Secure Link Preview:

This requires that the “Get Secure Link” option is turned on in the user’s NetDocuments cabinet administration options. It should be on by default. This will open a full-screen browser preview without navigating to NetDocuments.


This uses a newer preview functionality from NetDocuments to open a preview in a new browser window.


This option will simply download the selected document on click

Search is a global feature that exists on every WebPart. The search bar can be turned on or off in the configuration. By default, search will show the currently selected container as its search context in the placeholder field. Note that search functionality cannot be expanded beyond the original source container but it can be constricted by navigating into sub-containers. The placeholder text should update automatically, informing the user of the search context when navigation occurs.

Search functionality will vary depending on the type of content that is retrieved by the WebPart and also how it is configured. There are 2 main options for search configuration: “Search Current View” or “Search All”.

Search Current View

Will execute a search on NetDocuments with the current container as the search scope (including sub-containers). It will return all results matching the metadata columns of the existing view.

Search All

Will execute a search on NetDocuments with the current container as the search scope (including sub-containers). It will search across all metadata including keyword searching the content of the document. Note: Search All cannot expand the search scope beyond the original source container.

When the user clicks the search button or presses enter with a search term, the WebPart will execute a query to NetDocuments that searches through all containers and sub-containers that are contained within the primary source. The current contents of the display table will then be replaced by the search results. Users can revert to the previous view by pressing the “x” button inside the search box. In tree view, the “search all” option will search all primary sources containers.

netDocShare hybrid

With our 3.4.0 update in 2021, we have changed the name of integrated search to netDocShare Hybrid. This webpart dedicated solely to search integration between SharePoint and NetDocuments. This webpart is only available through an extra license feature purchase. Please see our section on the “netDocShare Hybrid” viewtype for more info.

NetDocShare relies on the dynamic column and Profile Attributes system in NetDocuments to retrieve its data. In order to show custom columns, users must have set up profile attributes as a NetDocuments Administrator and enabled them as custom columns in the cabinet in use. Once this pre-requisite has been fulfilled, users can display any sort of custom column content from NetDocuments.

By default, our webpart will include the fields “name”, “version”, “id” and “extension” as default columns to include in a newly created view. However, users can customize this in various ways. Using the config Builder, users can dynamically retrieve columns that exist in their NetDocuments account and then add or remove any columns desired (Note: This excludes the Name and version fields which are mandatory). Users can also re-arrange columns as they wish

In the image above, you can see that custom columns “property1” and “choice” have been retrieved from the cabinet and “property1” has been added to the view. Please see the Config Builder section for more information about using custom columns.

For Treeview, since this view can display content from multiple cabinets and columns (also called profile attributes) are based on cabinets, users can choose column properties for EACH source. Simply pick the source and a pen-shaped ‘Edit’ icon should appear next to the source. Clicking this will open a popup where you can pick columns for that specific source.

Clicking on the “Filter” icon beside the search bar (pictured in the screenshot below) will open filter fields for each column included in the view. Users can enter filter terms that will return results in the current container that match the provided term. Below you can see an example of filtering the document extension to only see Microsoft Excel files. Users can filter by any default or custom column that has been enabled for the cabinet in NetDocuments. Name and version will always be included as default columns, all other columns are customizable in the view.

Columns can be re-sized directly on the webpart table. Simply hover over the edge of a column and the cursor should change into a resize icon with a tooltip reading “Resize Column”. Drag the dotted line to resize the column. After re-sizing occurs, the webpart will automatically save the new width that has been modified.

Re-Arranging columns can be done through the Config Builder mentioned earlier in the “Choosing Columns” section. On this page, after choosing the desired columns, users can drag & drop the column name bubbles to the desired order that will appear in the view. Please review the “Choosing Columns” section or please see the “Config builder” section for more info.

Please note: When re-sizing columns on SharePoint, the change will only persist for the current view and current user. This is due to page edit & permission issues. If you would like column re-sizing to persist for all users, please re-size as a user who has edit permission on the page while the page is in “edit” mode and the webpart pane for the current webpart is open.

Users can upload a new document into any WebPart which has a specific source location that is a container. For example: folders and workspaces are valid containers that one can upload to. Whereas, views such as RecentDocs or Favorites or Saved Search View are not valid containers and therefore cannot be uploaded to.

Simply click the upload button and it will open an upload dialog window. In this window, users can drag & drop or browse their local directory to choose single or multiple files for upload.

In TreeView, there are usually multiple sources displayed. In this case, the upload destination will be the latest cabinet/folder/sub-folder selected by the user.

The uploaded documents will immediately be sent to your NetDocuments repository barring any error happening. Users will be notified of any errors during upload. Please note that, even after successful upload, in some limited cases, the user’s view on netDocShare may not immediately update to show the newest upload. This is because NetDocuments processes and indexes the files in the background and the indexing priority tends to be lower for API uploads. This can be avoided by waiting a few minutes and refreshing the WebPart.

Note: Uploading files with no content results in an error. If a document is uploaded that has had its contents deleted, then it would not count as “no content.”

As of version 3.3.0, users can now upload by directly dragging & dropping one or more files onto the content table itself.

Users can also download documents in several ways. Firstly, there is a “download” option which can be turned on or off in the context menu. There is also a default click behavior which can be automatically set to download. Finally, users can select multiple documents using the selection tick boxes on the left and bulk download all selected files.

Our Enterprise level license contains a few more features that are provided only to enterprise customers. These features are automatically enabled if your license has been purchased or upgraded to enterprise level.

Our webparts have the ability to directly integrate ndThread views of containers or workspaces directly as additional tabbed views in either SharePoint or Microsoft Teams. To use this feature, simply check the “ndThread” checkbox when creating a new view with config Builder or editing an existing view. ndThread must already be activated on a tenant-level in your NetDocuments account, please contact your NetDocuments Administrator for more info on how to enable ndThread.

Similar to ndThread, the new ndTasks feature will also appear as an additional tab when activated.

Our webparts have a built-in Co-Authoring feature which will bring together NetDocuments and SharePoint to let users seamlessly edit documents in collaboration. Note: This feature is currently only available for clients using SharePoint Online, support for SharePoint on Premises is planned for future releases. More information about Co-Authoring, including how to activate and use it is available in our Co-Authoring specific documentation.

Please click this link to checkout the Co-Authoring documentation

Support for directly opening documents in online office editors has been added. Note that this feature is only available for Office documents which include an ‘x’ in file format such as “xlsx” for excel files.

For our enterprise clients, we offer a separate SPFx extension for usage in SPO environments which adds the “Save to NetDocuments” and “Move to NetDocuments” options in SharePoint document libraries. Users can use this option to directly save documents from SharePoint into a container (workspace, folder etc…) of their choosing in a NetDocuments repository. The file will then maintain a consistent URL in SharePoint which will be managed by the extension. Any edits made to the SharePoint document can be transferred to NetDocuments by using the “save” option again after edits have been made.

If choosing “Move to NetDocuments”, this will permanently move one or several selected documents from SharePoint to NetDocuments. Doing so will leave behind a .url file which points to the NetDocuments location where the content was moved. Users will no longer be able to access the file in SharePoint once it has been moved.

Formerly known as ‘integrated search’ this webpart grants the ability to search and filter NetDocuments and SharePoint content right within SharePoint. This feature allows users to customize a search webpart that can search across both SharePoint and NetDocuments. Users can choose to select a specific SharePoint list to search or search across the entire tenant using managed properties. Users can choose one or multiple cabinets in NetDocuments to search across. It also allows usage of shared filters, even when column names and designations may differ. Please see our section on netDocShare Hybrid to learn how to create and configure this webpart.

netDocShare Config Builder is one of our essential webparts when working with netDocShare for the first time. The Config Builder can be used by technical or non-technical staff to help create configurations for webparts that all other users will see.

There are 2 main ways to use the config builder:

  1. Config Builder Popup: When a new NetDocShare webpart is created or an existing one is edited, users will see a “Open Config Builder” button in the webpart property panel. Clicking this will open the config builder in a popup. After filling in the desired properties, the app will automatically save the settings into the webpart config panel as a JSON data type. The changes will reflect immediately in the view and users will be able to see the change in real time.
  2. Dedicated Config Builder Page: Admins can also create a specific SharePoint page to house the config builder. This will allow them to quickly import / export webpart configs from different pages and edit them.

Note: More information about the Config Builder can be found in “How to use SharePoint Config Builder”

Config Builder as a Popup

After editing an existing webpart or Creating a new webpart, users will see the webpart property pane shown above on the right. Clicking the highlighted button should open up a popup version of the config Builder webpart which will contain a form that users can use to select different properties that the webpart will have.

Creating A Config Builder webpart

Create a new page or use existing Config Builder webpart.

After choosing the NetDocViewer webpart, click edit button and wait till right panel shows up. At this point, you will be able to tell whether the App has loaded successfully or not. If you see a message stating “Please input your NetDocuments Configuration Object”, the webpart is ready to configure and use. If you see any other message, some part of the deployment has gone wrong. Please ensure that netDocShare has been deployed properly by seeing our Deployment Guide. Create the Config Builder webpart by pasting the following into the webpart configuration window on the right side:

{ “viewType”: “createConfig”,
“assetPath”: “{your asset path here}” }

The assetPath determines where the webpart will load its code and assets from. Typically, this can be found during the deploy process. Here is an example of a typical path we usually see in Sharepoint Online:


For Sharepoint On-Premises, Your assetPath might look like:


More detailed information about the Config Builder can be found in “How to use SharePoint Config Builder.”

Starting with our 3.2.0 build, we have introduced a long awaited feature called “Admin App”. This app allows Admin users to set defaults for all configs on their tenant as well as allowing or disallowing users to see or change certain settings. The admin app is able to override any and all settings that can be set in the config builder. If you are missing certain settings or are seeing unexpected defaults, you may want to contact your administrator. Please see our Admin App documentation for more info.