ITLec / PowerQueryBuilder

13 stars 5 forks source link

Suggestion: Use RelativePath parameter in web.contents call #26

Closed hanksteen closed 5 years ago

hanksteen commented 5 years ago

First of all: Thanks for the great work!

Today the call to web.contents gets generated something like this. Web.Contents(ServiceRootURL & "/incidentresolutions", [Headers=[Prefer="odata.include-annotations=*"],Query=[fetchXml="

My suggestion would be to change this to Web.Contents(ServiceRootURL, [RelativePath="/incidentresolutions",Headers=[Prefer="odata.include-annotations=*"],Query=[fetchXml="

For me this changes is relevant when publishing to the Power BI service where I with the current solution will have to add web credentials to all urls. Using RelativePath I only need to add web credentials once.

ITLec commented 5 years ago

Thanks a lot hanksteen. We already implement your suggestion. We also include a big thanks for you in the latest release note.