Search This Blog

Tuesday, October 20, 2009

[Tutorial] Steps to Apply Custom Item Style for Content Query Webpart

Many of times, SharePoint developer need to  poll out some content from any list or library. Therefore it is important that IT consultant should have a briefly idea on how does it work..

Step 1 : Click on “Site Action>Edit Page

image

Step 2 : Now you are in “edit mode” and click on “Add a Web Part”.

image

Step 3 : Choose “Content Query Web Part” and click “Add” in order to add a new web part in your page.

image

Step 4 : This web part will pull out all content from the portal by default, to customize the output user click on “edit” > “Modify Shared Web Part”.

image

Step 5 : Panel will be prompted out and now you can custom what content to poll out.

image

Step 6 : To use the customized style, you please click on “Presentation” > “Item Style”. All available style in your ItemStyle.xsl will shown here.

image

Step 7 : Apply and Publish the page, now you can view a different style for your content.

image

To manually create a custom ItemStyle please read “Customize Content Query Webpart Item Style in XSLT”.

No comments:

Post a Comment