-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get full version history of SharePoint list item from from begining #3134
Comments
Did you try this: https://pnp.github.io/pnpjs/sp/items/#get-version-history |
@juliemturner Yes but in pnp/js get response only top 50 |
Did you try adding the .top parameter to versions? |
Yes i already Added Top 5000.
|
I mean I'm glad you can get version history with that query but I pointed you to the docs where the call is:
I think you can expand that to:
but I haven't tried that so I can't say for sure. Also I'd really suggest you move to version 4. |
@deep-ponkiya-web - what is the version retention set to on the library? How many versions are you expecting to get? |
Yes i tried your solution but only top 50 entries get. Any Other solution? |
i need all version history starting from '1.0' to last change version. i need SharePoint list version history. |
What version of PnPjs library you are using
3.x
Minor Version Number
1.0
Target environment
All
Additional environment details
"@pnp/sp": "^3.13.0",
"react": "17.0.1",
"@microsoft/sp-core-library": "^1.17.1",
"@microsoft/sp-lodash-subset": "^1.17.1",
"@microsoft/sp-office-ui-fabric-core": "^1.17.1",
"@microsoft/sp-property-pane": "^1.17.1",
"@microsoft/sp-webpart-base": "^1.17.1",
Question/Request
i am working with spfx with react.i need full version history of SharePoint list item from begining.
but pnp/js return version number 10.0 when history more then 50. please assist me for this issue.
The text was updated successfully, but these errors were encountered: