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”
Step 2 : Now you are in “edit mode” and click on “Add a Web Part”.
Step 3 : Choose “Content Query Web Part” and click “Add” in order to add a new web part in your page.
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”.
Step 5 : Panel will be prompted out and now you can custom what content to poll out.
Step 6 : To use the customized style, you please click on “Presentation” > “Item Style”. All available style in your ItemStyle.xsl will shown here.
Step 7 : Apply and Publish the page, now you can view a different style for your content.
To manually create a custom ItemStyle please read “Customize Content Query Webpart Item Style in XSLT”.
No comments:
Post a Comment