I need to get the last ten created item from my list ; I used TOP in my query but this it doesn't work , still give me all items without filtering : this is my query :
var queryGet= "?$filter=Title ne 'reply'&top=3"
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
For listing item in a particular order you should use
orderby in the URL
var queryGet = "?filter=Title ne 'reply'&$top=10&$orderby=Created desc"