Question

I created a new custom list then I created new web-part with custom list. I added xsl code for the web-part.

I want to five item appears on homepage. If users click on "All Items", they redirect to allitems.aspx. But my xsl code is showing all items on homepage. How can I limit to showing number of items? Should I add code in the xsl code?

Était-ce utile?

La solution

Click on Edit Page -> Edit the webpart -> Edit the current view -> Scroll down to Item Limit. Set it to 5 and hit OK.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top