Connecting web parts in SharePoint allows you to make the user experience more dynamic and richer. In the first part of this blog, we have shown you how to connect the file viewer web part and document library web part. You can also learn how to connect the list properties web part and list web part, and the connection between embed web part ad list web part in the previous edition of this blog series. This blog is the continuation of the embed web part – list web part connection. Today we will tell you how to connect these web parts to show an image and a map as required.
Here are the steps you need to follow to set up a connection between embed web part and list web part so that when users select an image from the list, it will get displayed in the embed web part. For this connection to work well, you need to ensure that the list web part consists of URL and image titles of images in your SharePoint site. Check out the steps below:
Like we did on the case above, here we are about to display a location map in the embed web part when a user picks a location added to the list. Here are the steps that let you make this happen:
As in the case of all SharePoint tutorials and techniques, there are a few basic things we would like to share with you for the best results. To make these steps work successfully, you should be using an embed code based on iframe. Please note that the embed codes that are using <script> tags will not work as it is not supported.
Check whether the websites are secure. Only HTTPS websites can be embedded through these methods. To get the image URL for an image stored in SharePoint, you need to go to the library in which they are stored. By right-clicking the image and selecting ‘Copy link’ > ‘Copy’ options you can get the desired URL.
Try these methods in your SharePoint pages and make your pages richer and great in providing the best experience. We hope you liked this blog series. Come back for more!