Use the SharePoint Site URL Connection type to fetch data from the SharePoint sites (or subsites) in the same domain.
In this article, we will show you how to connect the ShortPoint Simple List Design Element to an existing list hosted in another SharePoint Site Collection.
Note: You can use any ShortPoint Design Element of your preference.
Follow the below steps on how you can do it.
TABLE OF CONTENTS
- Platforms supported
- Prerequisites
- SharePoint Site URL Connection Overview
- Step 1: Insert a Design Element
- Step 2: Select SharePoint Site URL option
- Step 3: Complete Connect fields
- Step 4: Map Items
- Step 5: Click Insert and Publish
- Example
Platforms supported
- Since version 6.5.x.xx: SharePoint Online and SharePoint 2019.
- Coming soon: SharePoint On-Premise 2013/2016.
Prerequisites
- ShortPoint is installed in your environment, and you are assigned as ShortPoint user.
- You have site assets in other site collections (Lists or Libraries), with some data that you will be using to connect the ShortPoint Design Element to, as well as permissions to view these assets.
SharePoint Site URL Connection Overview
Check the video tutorial to see the Connect type in action:
Step 1: Insert a Design Element
Go to your site and edit your page. Add or edit the web part where you want to set your list or library and insert a Design Element.
We are using a Simple List Design Element in this example, but you may use any option from the ShortPoint Page Builder.
Step 2: Select SharePoint Site URL option
Go to the Connect tab and select the SharePoint Site URL option.
Step 3: Complete Connect fields
You will now see the fields you need to fill in.
Site URL
Type the site collection, site or sub-site URL in the text box and click Fetch lists. Make sure that the following is true for the site URL:
- The URL must point to a SharePoint site and not to a list or library;
- The target SharePoint site must be on the same tenant;
- The current user must have access to the target SharePoint site.
Note: If you are getting the error shown in the image below, please check this solution article: You Get Error "We Could Not Connect to the given Site. Please Make Sure It Is a Valid SharePoint Url and You Have Access to That Site".
List / Library
Once successfully fetched, you will see the lists and libraries of that site in the drop-down. Select the one you want to use:
View
You can choose from the default views or any custom views within the list or library.
Items Limit
Indicate how many entries from the list or library you want to appear on your page.
Note: The default value is set to 0. It means, that there could be an unlimited number of items displayed in your ShortPoint List or Library. To know more about items limit, please read this article: How to Increase the Items Limit of Connected ShortPoint Elements : ShortPoint Support
Once complete, click the Connect button and wait for the connection to load.
Now the SharePoint list/library is connected. To complete the connection, we need to map the fields, as shown above.
Please proceed to the next step.
Step 4: Map Items
Map the corresponding properties of your list or library to display on your page in the Items tab.
Here we want to select Title in the drop-down for the Title field and Item URL for the Link field. This will display the title of each item in our sample list and attach the appropriate link to each entry to redirect users to the corresponding page or content.
Note: For more details about Items mapping, please see Step 4 of the ShortPoint Connect: Basic Tutorial article.
Step 5: Click Insert and Publish
Preview your work to see how it will be displayed on your page.
Click Insert and Publish once done.
Example
Here is a sample web part that uses ShortPoint Connect SharePoint Site URL option:
Related articles: