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
- edhans5 years agoCommunity Champion
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.- samdthompson5 years agoMemorable 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.
- edhans5 years agoCommunity 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.
- Anonymous5 years agoNot applicable
Hi samdthompson,
what is the [YYY=999] represent in your solution ? I assume that YYY is a variable and that 999 represents the completed URL?
Does this work for you?
Thanks
SEK
- samdthompson5 years agoMemorable Member
no no, it was just ananomising the data is all