Forum Discussion
Getting SharePoint List items with full history version?
Well, you can get version history like so:
http://<server>/<site>/_layouts/versions.aspx?list={litsID}&ID=<itemID>
Here are some resources that might assist:
http://stackoverflow.com/questions/24423657/sharepoint-2013-get-splistitem-versions-via-rest
Is there any update for this solution, considering this was a post from 2016?
These solutions work well in PBI Desktop but when publishing to the service I'm unable to refresh the dataset.
- Anonymous5 years agoNot applicable
Hi, s-roberts ,
Try the solution suggested by Chris Webb here.
As I understand it, you need to hide away part of the API call's string from Power Query and append it during the run, so the code would look like this:
Web.Contents("<your-webpage>",[RelativePath = "<continuation of the API call>"])
I was able to pull in full version history and be able to set auto-refresh on the Service.
ThanksEvan- NickTT5 years agoHelper III
I tweaked mine to use RelativePath and it still works fine from the Desktop but still fails to load with a refresh. I am using SharePoint online. Any tips?
- NickTT5 years agoHelper III
I found a work around. Load the data into a DataFlow first. In your Dataflow there is an Options button. In there click Project Options. Check the box "Allow combining data from multiple sources. This could expose sensitive or cofidential data to an unauthorized person.". With that set the query can now pull the data from both SharePoint and WebContent.