Skip to main content

Documents

The Sprocket Documents web part enables you to display and manage documents from any SharePoint document library directly on your page. Connect to libraries across site collections, customize which fields to display, apply filters, and organize documents by metadata groups to create tailored document views for your users.

Features

  • Connect to any document library from any SharePoint site (cross-site collection)
  • Type ahead results filter
  • No need to configure a SharePoint view, just select the fields you wish to display in the webpart
  • Specify filters
  • Group by meta data field
  • Create filters using query strings and page data
  • Flatten files without folders
  • Show documents within a specific folder
  • Use within 'Full-Content' section

Configuration

Adding the Web Part

  1. If you are not already in edit mode, click Edit at the top right of your page.
  2. Click the + icon to add a new web part to your page.
  3. Search for and select Sprocket Documents.
  4. Configure the web part settings using the property pane on the right.

Display Options

The Documents web part offers the following display configuration settings:

SettingDescriptionOptions/ValuesDefault
Show BreadcrumbDisplay breadcrumb navigation showing the current folder pathOn / OffOff
Column Minimum WidthSet minimum width for all columns (in pixels)0 - 500 px0 (auto-sized)
First Column Minimum WidthSet minimum width for the first column excluding icon (in pixels)0 - 500 px0 (auto-sized)
Maximum number of itemsLimit the number of documents displayed1+-
Show Command BarDisplay command bar with See All button to view all documentsOn / OffOff
Show FilterDisplay search filter to find specific documents using keywordsOn / OffOff
Compact ViewUse compact list layout for denser document displayOn / OffOff
Show File TypeDisplay file type column in the document listOn / OffOff
Show FoldersInclude folders in the document listingOn / OffOff
Wrap RowsAllow row content to wrap to multiple linesOn / OffOff
Enable Vertical Scroll BarAdd vertical scrolling within the web partOn / OffOff
HeightSet web part height when vertical scrolling is enabled100+ px400 px
Open list in new tabOpen the full document list in a new browser tab when clicking See AllOn / OffOff
Group CollapsedDisplay grouped items in collapsed state by defaultOn / OffOff

Query Options

Configure the document source and display settings:

SettingDescriptionRequiredOptions/Values
Site URLSelect the SharePoint site containing the document libraryYesDropdown of available sites
Web URLSelect the web within the siteYesDropdown of available webs
Document LibrarySelect the document library to displayYesDropdown of available libraries
FolderSpecify a folder path to display documents from a specific folder
For nested folders, use '/' as separator (e.g., Folder1/Subfolder2)
NoText input
View FieldsSelect which metadata columns to display in the listYesCheckboxes for available fields
Order ByChoose the field to sort documents byNoDropdown of available fields
Sort DirectionSet the sort orderNo• Ascending
• Descending
Query within foldersInclude documents from subfolders in the resultsNoOn / Off
Group ByGroup documents by a metadata fieldNoDropdown of available fields

Using Filters

Filters enable you to control which documents are displayed in the web part. To add filters:

  1. Click the Add Filter button in the Filters section
  2. Select the field, operator, and value(s) for your filter
  3. Use And/Or conditions to combine multiple filter expressions
  4. Build complex queries to precisely control document visibility

FAQs

1. What is the maximum allowed file size of a document?
There is no maximum file size - any document size is allowed as per SharePoint specifications.

2. What are the allowed file types?
All SharePoint-allowed file types are allowed, however currently Excel and PowerPoint templates will open in Display Mode.

3. How can I find a specific item in the list?
You have the option to search for items in the list.