How can we help you today?

How to Showcase Documents in SharePoint Using ShortPoint Connect

While the SharePoint Document Library is an incredibly powerful document management tool, finding the best way to showcase those files on your pages can sometimes be a challenge. That’s where ShortPoint Connect comes in! It effortlessly pulls data directly from your modern SharePoint document library and displays it beautifully on your SharePoint sites.


In this article, you'll learn how to connect your new document library to ShortPoint Design Elements so you can start showcasing multiple files in style.


Finished document layout example used to showcase documents in SharePoint beautifully


TABLE OF CONTENTS


Prerequisites


What is a SharePoint Document Library?


A SharePoint Document Library is a secure location on a SharePoint site where you and your co-workers can create, find, update, and collaborate on files. Instead of just storing files on a local server or a messy desktop, a document library in SharePoint moves your files to the cloud and supercharges them with metadata (tags), automation, and advanced security rules.


Within a library, you can store a wide variety of file types (Word documents, Excel, PDFs, images, etc.), co-author documents in real-time with your teammates, and track the entire history of a file from creation to its current state.


Standard SharePoint document library interface displaying files, metadata columns, and modifying fields


But here comes the challenge: displaying your files on SharePoint pages. While SharePoint offers out-of-the-box web parts to showcase your Document Libraries, they can sometimes feel a bit rigid. Because design options are limited, it can be tough to make them match your organization’s unique branding.


To give you more flexibility, ShortPoint has created a collection of ready-to-use library templates. Crafted by our design experts, these templates make it easy to present your files beautifully while keeping your site's look and feel entirely on-brand. Amazing right?!

And to make things even better, you can connect these incredible templates to your SharePoint Document Library, making it dynamic. This means any update you make to the actual Document Library will automatically reflect the templates.


Finished document layout example used to showcase documents in SharePoint beautifully


How to Display Document Library in SharePoint Sites


Here's an easy-to-follow guide you can use to start featuring your document library in SharePoint team sites. Follow the steps closely for a seamless document library display experience.

Here's the code used in Part 2 of the interactive tutorial:

var resultsWithType = data.d.results.map(function(item) {    
    if(item.Name != null) {        
        var lastDotPosition = item.Name.lastIndexOf('.');
        item['Type'] = item.Name.substring(lastDotPosition + 1, item.Name.length);        
    }
    return item;
});

return resultsWithType;


Part 1: Create a Document Library


This section will show you how to create a SharePoint Document Library.


Step 1: Create a Blank Document Library

  • Go to the SharePoint page you want to use, click [1] New, and select [2] Document Library:


Selecting the document library option from the native new menu to showcase documents in SharePoint


  • From the choices, choose Blank Library:


Choosing the blank library template option when preparing to showcase documents in SharePoint


  • [1] Name your Document Library and click [2] Create:


Naming the library and clicking create to set up and showcase documents in SharePoint


Step 2: Upload Files

  • Click the Create or Upload button to add files. You can also drag and drop files inside the Document Library.


Clicking the create or upload button within the document library action bar


Step 3 (Optional): Add Columns

  • If you wish to add more details about your files, you can add additional columns. To do that, click Add Column:


Selecting the add column button before you showcase documents in SharePoint


  • Choose the [1] type of content you want to have inside the column and select [2] Next:


Selecting the choice column data type inside the create a column configuration panel


  • Add the necessary details.
  • Click Save.
  • Repeat Steps for every column you need to add.

Step 4 (optional): Fill in the Columns

  • Once you have all the columns you need, click Edit in grid view.


Clicking the edit in grid view action to quickly modify the library


  • Fill in the details.
  • Click Exit Grid view.


Selecting the exit grid view button after assigning departments to corporate files


Great work! You now have a Document Library. You can now proceed to Part 2, where you will connect this library to a ShortPoint Design Element.


Part 2: Connect the Document Library


This section will cover the connection aspect of the tutorial. Follow the steps closely to get started.


Step 1: Edit the ShortPoint Web Part

  • Go back to your SharePoint page and click Edit:


Clicking the edit button on the page header to update the page


  • Close the Toolbox:


Closing the standard toolbox panel to access the ShortPoint element settings


  • Click the Edit properties icon:


Clicking the edit properties icon to open Page Builder interface


Step 2: Add a Document Template

  • Determine where you want to add the Document section and click the blue plus icon to add a Section:


Clicking the blue add section button within the live page builder interface


  • Choose the Open Templates icon:


Selecting the open templates icon to browse pre-built layout designs


  • Go to the Sections tab:


Navigating to the sections category tab in the templates library


  • Navigate to the Documents tab.


Selecting the documents category to view designs that showcase documents in SharePoint


  • Hover over the Document template you want to use and click the plus icon:


Clicking the insert template plus icon on the document template you want to use


Step 3: Edit the Design Element

  • Click the EasyPass tag of the File List Design Element:


Selecting the file list element tag to open its settings window


  • Select the cogwheel icon:


Clicking the green element cogwheel icon on the live page template


Step 4: Choose Connection Type

  • Go to the Connect tab.
  • Click Configure:


Clicking the blue configure button under the dynamic connect tab interface


  • Choose the connection type you want to use. You can choose from:
  1. Current Site: choose this option if the Document Library you created in Part 1 is in the site you're using.
  2. Other Sites: choose this option if the Document Library you created in Part 1 is in another site.
  3. SharePoint Site URL: choose this option if you know the SharePoint URL of the site where your Document Library is located.


Selecting the connection option you want to use within the integration hub


Step 5: Connect


NOTEDepending on the connection type you chose, the fields you need to fill in will differ. As an example, we'll use the Current Site connection.


  • Find the name of your FAQ SharePoint List from the drop-down:


Choosing the library source from the list or library field


  • Choose the View you want to use.


Choosing the all documents option from the view configuration dropdown selection menu


  • Copy the code below. This code will allow the connection to determine the file type of each document in your Document Library:
var resultsWithType = data.d.results.map(function(item) {    
    if(item.Name != null) {        
        var lastDotPosition = item.Name.lastIndexOf('.');
        item['Type'] = item.Name.substring(lastDotPosition + 1, item.Name.length);        
    }
    return item;
});

return resultsWithType;
  • Expand Advanced Settings.
  • Toggle on Enable Advanced Settings:


Toggling on the enable advanced settings slider switch within the connector menu


  • Scroll down to Map Results and paste the code:


Pasting custom JavaScript code into the map results field box


  • Once done, click Connect.

Step 6: Map Properties

  • Go to the Items tab.
  • Delete all default content.
  • Use the link icon to map the properties you want to showcase:


Clicking link icons to map specific dynamic fields you want to showcase


  • We recommend using the mapped properties below. However, if you have any other requirements, you can map properties as you see fit:
    1. #BaseName - showcase the name of the file.
    2. #Department - showcase the content inside the Department column created in Part 1.
    3. #DocIcon - showcase the file type of the document.
    4. #FileRef - redirects to the actual file when clicked.


Showing a complete mapped properties selection in the Items tab


NOTEFor more information on Items Mapping, check out ShortPoint Connect: How Items Mapping Works.


  • Click Update.

Step 7 (Optional): Modify Design

  • Go to the Design tab.
  • Customize the look of the Design Element to your liking:


Adjusting the file icon size and style options under the design tab



Step 8 (Optional): Activate Toolbar Widgets

  • If you have a lot of files, we recommend activating toolbar widgets. To do that, go to the Toolbar tab.
  • Select the widget you want to activate. Take note that you can activate multiple widgets.


Selecting widgets from the search and filter toolbar to improve file sorting


  • Modify the widget to your liking.
  • Click Activate:


Clicking the blue activate button to deploy the widget


NOTEFor more information on the Search & Filter Toolbar widgets, checkout Getting Started: The Basics of the Search & Filter Toolbar.


  • Once done, apply your changes:


Clicking the checkmark to save the changes


Step 9 (Optional): Change other Template Elements

  • You can also modify the other Design Elements found in the Document template. Simply click the EasyPass tag of the Design Element:


Clicking the EasyPass tag of an element to modify its content


  • Select the cogwheel icon:


Clicking the cogwheel icon to opent the Settings window of the Design Element


  • And customize the content as you like.
  • Click the green check mark to apply changes.

Step 10: Save

  • Save your changes:


Saving the changes made inside the Page Builder


  • Publish your page:


Clicking the blue republish button to finalize changes and showcase documents in SharePoint


Congratulations! You now have a dynamic document library on your SharePoint page, showcasing all the documents with style and ease. This central repository allows multiple team members to access, collaborate, and manage files efficiently.


Why Have a SharePoint Document Library in SharePoint Sites?


Showing your document library in SharePoint team sites completely transforms how your organization handles information. Here's why they are an essential asset for your digital workspace:


  • Improves Accessibility and Efficiency


When team members land on a SharePoint team site, they usually have a specific task in mind. By showcasing a document library on the homepage or a relevant sub-page, you eliminate unnecessary clicks.


  • Drives Better Collaboration and Version Control


When documents are hidden away, people tend to download local copies or email attachments back and forth, which wreaks havoc on version control. Showcasing the document library reminds the team that a central, single source of truth exists. Because SharePoint allows for real-time co-authoring, team members can work together simultaneously on the showcased files without leaving the site.


  • Boosts User Adoption


A team site that looks empty will quickly be abandoned by users. Showcasing active document libraries makes the site feel alive, organized, and immediately valuable. When people see a clean, well-structured library display, they are much more likely to adopt SharePoint as their primary collaboration tool.


Frequently Asked Questions


What are SharePoint libraries, and how do they help in storing documents?


SharePoint libraries are secure locations on a SharePoint site designed for storing documents and other file types. They provide advanced features like metadata tagging, version tracking, and document approval workflows, making the process of storing documents more efficient and organized


Is there a limit to how many files I can store?

A single SharePoint document library can hold up to 30 million items. However, for optimal performance and ease of use, Microsoft recommends breaking large collections of files into multiple libraries or sites once you start reaching hundreds of thousands of files.


How do I create a new Document Library in SharePoint?


To create a new Document Library, go to your SharePoint site, click New, select Document Library, choose Blank, name your library, and click Create. You can then upload files and add columns to organize your content.


Can I display a Document Library on my SharePoint page?


Yes! You can showcase your Document Library on SharePoint pages using ShortPoint Connect, which allows you to connect your library to customizable templates that update dynamically with any changes in your library.


Related articles:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 37 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more