Alright, I've figured it out. $skip
isn't a command which is meant to be used at the items?
level. It works only at the lists?
level. But, there's a way to do this, actually much easier than what I wanted to do.
If you just want all the data
In the returned data, assuming the list you are calling holds more than 100 items, there will be a __next
at d/__next
(assuming you are using json). This __next
(it is a double underscorce, keep that in mind. I had a few problems at first because I was trying to get d/_next
which never returned anything) is the right URL to get the next set of items. __next
will only ever be a value if there is another set of items available to get.
I ended up creating a RequestURL
variable which was initially set to to original request, but was changed to d/__next
at the end of the loop. Then the loop went and checked if the RequestURL
was not empty before going inside the loop.
Forgive my lack of code, I'm using SharePoint Designer 2013 to make this, and the syntax isn't horribly descriptive.
If you'd only like a small set of data
There's probably a few situations where you would only want x
amount of rows from your list each time you go through the loop and that's real easy to do as well.
if you just add a $top=x
parameter to your request, the __next
URL that comes back with the response will give you the next x
rows from your list. Eventually when there are no rows left to return __next
won't be returned with the response.
Best Answer
Create a project in which includes Master Detail Template View files & FullScreen templates files i.e.
S1.view.xml
After creating these views then just define the routing of pages in Component.js
Don't forget add MyRouter.js file