January 13, 2026
Adding items to Launch Pad Widget
Learn how to add items via My Apps Content App
Displays a search-based document listing with a folder tree view, document list and search filters/refiners.
Document Viewer is search-based and maintains the capacity and performance to search, filter and display libraries with tens of thousands of documents, while still providing the ability to upload, edit and share documents.
IMPORTANT: Since the Document Viewer is search-based, once a change is made to a document it will not appear for other users until AFTER the next search index update (crawl). This includes not only additions to the document, but new versions added and changes in the document's permissions as well.
The Document Viewer is actually comprised of three widgets that are designed to work together to provide the solution. Expand the following topics for more information:
Document Upload
The Document Viewer supports uploading of files using a drag/drop/wizard based interface. To start the process, drag one or more files from your local folder to the document listing area for the target upload folder. You will see the listing area outline in yellow to show that it is ready to drop the files.
A wizard based flow will prompt for any required metadata fields, as well as require the user to check-in the files if versioning is enabled on the document library. No more accidentally leaving files checked out!
Once the wizard is complete, the uploaded file(s) will appear in a “Pending Uploads” area. This area, specific to each folder, will appear when files have been added via drag/drop but have not yet been indexed by search. Once indexed by search, they will appear in the document listing area. If there are no Pending Uploads, that section is not displayed for the folder (see Configuration Options for the Document Viewer for setting the timing for files in the Pending Uploads area)
Document Viewer Preview/Edit
When clicking on the Preview icon for a document a modal preview window is opened.
When editing a document, be sure to “Checkout” the document while editing, and then “Checkin” the document once finished. This will ensure that other users see your changes.
There are a couple of steps which are required for proper operation of the Document Viewer
Add a New Managed PropertyConfiguration Options for the Document Viewer
The Document Viewer can be configured using the Widget Manager or the front-end Widget Edit modal. All configuration is done through editing of the Document Viewer widget.
To edit the list of property fieldsIt is first necessary that the field be in the search schema - see {tenanturl}/_layouts/15/listmanagedproperties.aspx. With that in place, in our example we will use the ListItemID property to show how to add a new column to the widget.
We first ensure the property is in the comma separated list for the selectfields property; if it is not, then add it. Ex: Title,Path,FileLeafRef,Size,Author,FileExtension,ListItemID
Next, we edit the displayfields property, by adding another entry for the field we want to show. Our entry will use the title "Item Id" and use the ListItemID property. Note, we use the large-2 class to style the column (it is based on a 12 column grid such as foundation or bootstrap):
,{"title":"Item Id","id":"ListItemID","cssclass":"large-2"}
We can then see our column in the list:
The full displayfields property, formatted for ease of viewing:
| Selected List Columns / Select Fields | Columns in the SharePoint list that the widget is utilizing |
| Library Name | The name of the SharePoint document library to display from |
| Page Size | The number of items/page for paging |
| Refiners | The list of refiners to be displayed. The format of this string is a comma separated list with each refiner formatted as follows:
|
| Display Fields | The fields to display within the Document Viewer file listing grid. The format of this string is a comma separated list with each refiner formatted as follows:
|
| Latest Time Period | The time (in minutes) files remain in the Pending Uploads section after uploading. MINIMUM SETTING is 10 with a maximum of 100. If a value less than 10 is set, it will default to 10 mins. This setting should be set to the same interval as the search index frequency so that files disappear from Pending once they are indexed. |
| Latest Number | The maximum number of files to display in the Pending Uploads area. |
| Folder Row Limit | The maximum number of folders being filtered. Defaulted to 1000 folders. |
| Default Items Open Setting | Set to true by default. Folders display open with list of files. |
| Optional Columns | Additional user specified fields to display within the document viewer listing grid. Optional column field can be left blank if no additional columns are needed to display. |
| Callback Method | Name of the function called before the view has been rendered to the screen to edit properties of the view. |
View Name: Document Viewer View Description: Displays a vertically stacked list of files, that’s complete with a widget title, a file search and a folder creation button View Preview: