You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
When I use only one option sprLib.list().items({ queryNext: { prevId: 29, maxItems: 5 } }), it requests like this http://localhost:3000/_api/lists/getbytitle('UsersDetail')/items&p_ID=29&$top=5.
You can see than before p_ID=29 stand & intstead of ?.
And I get an error Invalid argument.
But if I add more than one option on request, like this: sprLib.list(usersList).items({ listCols: ['ID'], queryNext: { prevId: 29, maxItems: 5 } });, my request is good http://localhost:3000/_api/lists/getbytitle('UsersDetail')/items?%24skiptoken=Paged%3dTRUE%26p_ID%3d29&%24select=ID&p_ID=29&$top=5 and before my first GET argument stands question symbol ?
The text was updated successfully, but these errors were encountered:
When no column names are provided, the library attempts to retrieve all the columns (/items), but this behavior runs into trouble when options are provided.
When I use only one option
sprLib.list().items({ queryNext: { prevId: 29, maxItems: 5 } })
, it requests like thishttp://localhost:3000/_api/lists/getbytitle('UsersDetail')/items&p_ID=29&$top=5
.You can see than before p_ID=29 stand
&
intstead of?
.And I get an error
Invalid argument
.But if I add more than one option on request, like this:
sprLib.list(usersList).items({ listCols: ['ID'], queryNext: { prevId: 29, maxItems: 5 } });
, my request is goodhttp://localhost:3000/_api/lists/getbytitle('UsersDetail')/items?%24skiptoken=Paged%3dTRUE%26p_ID%3d29&%24select=ID&p_ID=29&$top=5
and before my first GET argument stands question symbol?
The text was updated successfully, but these errors were encountered: