To build a page, SharePoint allows you to add SharePoint web parts, which are customizable widgets that present information or facilitate interaction among your users.
This article will demonstrate how you can embed a SharePoint Web Part into ShortPoint. Below is an example of a page where we incorporated the Document Library into ShortPoint. Go through the interactive tutorial or follow the step-by-step guide to get started.
NOTE: The SharePoint Web Part added using the SharePoint Web Part Design Element will retain its usual functions. For example, users can still add and upload new documents, as well as, open documents in the Document Library.
NOTE: This feature is currently available for SharePoint 2019 Microsoft 365 environments.
TABLE OF CONTENTS
- Prerequisites
- Interactive Tutorial
- Step-by-step Tutorial
- SharePoint Web Part Design Element Features
- Advanced Tutorials
Prerequisites
- You must have SharePoint Microsoft 365 or SharePoint 2019.
- You must have ShortPoint SPFx version 8.2.0.1 or higher.
- You must be a ShortPoint Designer with an active license.
- You must have at least View permissions to the new page with the SharePoint web part.
Interactive Tutorial
Start the interactive tutorial to learn how to add the SharePoint Web Part Design Element:
NOTE: To see a detailed list of all SharePoint web parts, check out How to Add a SharePoint Web Part.
NOTE: You can also check out SharePoint Web Part Design Element Features to see the options you can customize using this Design Element.
Step-by-step Tutorial
We divided the steps into two parts. Follow them closely for a detailed guide on how to add the SharePoint Web Part Design Element:
PART 1: Get the SharePoint web part URL
In order to get the URL we will use for Part 2 of this tutorial, we must create and publish a new page with a SharePoint Web Part inside. Go through the steps to learn how:
Step 1: Create a New Page
- Go to the SharePoint page where you want to embed the ShortPoint Web Part Design Element and click New.
- Then, select Page.
- Choose the Blank template.
- Click Create a Page.
- Add a Title to your page.
Step 2: Add a SharePoint Web Part
- Hover over the new page's section and click the gray plus icon.
- Choose the SharePoint Web Part you want to use.
- Customize the web part according to your preference.
- Once satisfied, click Publish.
NOTE: To learn more about adding SharePoint web parts and to see a detailed list of all available web parts, check out How to Add a SharePoint Web Part.
Step 3: Copy the URL
- Copy the URL of your newly created page.
NOTE: Make sure you have at least View permission on the new page you created with the SharePoint Web Part. Otherwise, you will not be able to successfully accomplish the 2nd part of this tutorial.
PART 2: Insert SharePoint Web Part Design Element
After copying the URL, you must now insert the SharePoint Web Part Design Element. Go through the steps to learn how:
Step 1: Go back to the main page and edit it
- Go back to the main page where you want to add the SharePoint Web Part Design Element and click Edit.
- Click the ShortPoint tag.
- Select the pencil icon.
Step 2: Paste the copied URL
- Click the plus icon.
- Use the search bar to look for SharePoint Web Part and click it.
- Paste the copied URL in the field provided.
- (Optional) Adjust the size of the web part according to your preference.
- Once you are satisfied, click the green checkmark.
Step 3: Save
- Then, select the eye icon to see how your page will look when published.
- Click Save to apply all your changes.
Congratulations! You now know how to embed a ShortPoint Web Part into a ShortPoint Design Element. Enjoy exploring this feature on your SharePoint pages.
NOTE: You can also check out SharePoint Web Part Design Element Features to see the options you can customize using this Design Element.
SharePoint Web Part Design Element Features
Listed below are the customizable features available for the SharePoint Web Part Design Element:
A. Design Tab
The Design tab contains the URL field which allows you to embed the SharePoint web part. It also allows you to adjust the size of the web part. Below are the available options:
URL of Page containing the Web Part | allows you to paste the URL of the page where you have added the SharePoint web part. | |
Width | allows you to adjust the width of the SharePoint web part. | |
Height | allows you to adjust the height of the SharePoint web part. |
B. Spacing Tab
The Spacing tab allows you to customize the spacing around your Design Element. Below are the settings available:
Padding Top | adjusts the top padding of the web part. | |
Padding Right | adjusts the right padding of the web part. | |
Padding Left | adjusts the left padding of the web part. | |
Padding Bottom | adjusts the bottom padding of the web part. | |
Apply different padding for Tablet Devices | toggle on if you want to customize the padding of the web part for tablet devices. | |
Tablet Top Padding | adjusts the top padding of the web part for tablet devices. | |
Tablet Right Padding | adjusts the right padding of the web part for tablet devices. | |
Tablet Left Padding | adjusts the left padding of the web part for tablet devices. | |
Tablet Bottom Padding | adjusts the bottom padding of the web part for tablet devices. | |
Apply different padding for Mobile Devices | toggle on if you want to customize the padding of the web part for mobile devices. | |
Mobile Top Padding | adjusts the top padding of the web part for mobile devices. | |
Mobile Left Padding | adjusts the left padding of the web part for mobile devices. | |
Mobile Right Padding | adjusts the right padding of the web part for mobile devices. | |
Mobile Bottom Padding | adjusts the bottom padding of the web part for mobile devices. |
C. Custom CSS tab
This tab allows you to use your own CSS, HTML, and JavaScript code to customize the SharePoint Web Part Design Element.
NOTECheck out our support article on How to Insert Custom CSS into a Page Builder Element (Basic Tutorial) to know more about Custom CSS.
NOTEThe Visibility tab is currently not available in Live Mode.
That's it! You now know the features you can customize using the SharePoint Web Part Design Element.
Advanced Tutorials
Below are some advanced tutorials you can apply to the SharePoint Web Part Design Element:
This tutorial will demonstrate how to hide the SharePoint Web Part title that appears by default.
This tutorial allows you to use the SharePoint Web Part Design Element to add a calendar to your page.
This article demonstrates how to create a transparent background for the embedded Sites Web Part.
This article will provide you with a CSS code that you can modify to hide elements on your embedded SharePoint web part.
Related articles:
- How to Add a SharePoint Web Part
- How to Insert Custom CSS into a Page Builder Element (Basic Tutorial)
- How to Customize the Ticker Design Element