.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Slide Show using Content Search Web Part in SharePoint

Posted By:Jean Paul       Posted Date: January 31, 2015    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we will explore how to use Content Search Web Part for doing a Slide Show.

In this article we can explore how to use a Content Search Web Part to create a Slide Show of images.

Step 1: Create Picture Library

Create a document library of type picture library, change the name to Slides and add some pictures into it.


Step 2: Create Page

Add a new page and choose  the Edit Page option.


Enter the page name as SlidePage.


Step 3: Insert Content Search Web Part

Choose the Insert tab & Web Part ribbon item; Choose the Content Rollup category and then the Content Search web part.


Add the web part to the page.

Step 4: Configure Web Part

Choose the Edit Web Part option & click the Change query button.


In the appearing dialog box choose the following options.


You are specifying:

  1. Pictures to be displayed
  2. Scoping to a URL
  3. Specifying our picture library URL

From the right pane you can verify the results.

(It takes 15 minutes for the search crawl to refresh new contents)

Save the dialog.

From the web part properties make the following changes in Display Templates section.


Click OK to save the web part. Save changes to the page.

Step 5: Test the web part

Refresh the slide page & you should be seeing the following display.


The slides will start changing after few seconds.


There can be a 15 minute delay for the Search Crawl to update the new picture documents.  Please ensure you refresh the page after 15 minutes of upload.


In this article we have explored how to use Content Search Web Part for doing a Slide Show.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend