0

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?

  • In the XSL code you can use RowLimit as part of the CAML query. – Amal Hashim Dec 24 '14 at 10:52
1

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.