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


Top 5 Contributors of the Month
david stephan

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.

image

Step 2: Create Page

Add a new page and choose  the Edit Page option.

image

Enter the page name as SlidePage.

image

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.

image

Add the web part to the page.

Step 4: Configure Web Part

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

image

In the appearing dialog box choose the following options.

image

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.

image

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.

image

The slides will start changing after few seconds.

Note

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.

Summary

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


 Subscribe to Articles

     

Further Readings:

Responses

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