Forum Discussion
problems using SharePoint.Tables(siteURL) to schedule a data refresh
Hmmmm, try editing the url part to be the actual url you are wanting to query:
let
Source = SharePoint.Tables("http://xxx.co.nz/sites/projects", [yyy = 999]),
in
Source
It has to be the site. The Navigation step actually loads the table/list samdthompson
I've not tested specifically with SharePoint.Tables, but SharePoint.Contents and SharePoint.Files both error out unless the URL is strictly the top level URL for the site.
- samdthompson6 years ago
Memorable Member
edhans correct, you can however just leave out the first line of code. My solution is one that I am currently using and I know it works. I have anonymised the URL etc.
- edhans6 years ago
Community Champion
Interesting samdthompson
If I connect with anything but the standard URL that has the tenant and site name, I either getor the OK button is disabled telling me I need to shorten the URL to just the site.
This is SharePoint online from Office 365. I am not sure how it works in the case of SharePoint on prem.