Forum Discussion
PawelSow
6 years agoFrequent Visitor
Get current URL in OData feed
I am brand new for Power Query. I try to write custom connector to my OData feed. It will have to create an authorization token and insert it to the http header. To creteate a token I have to know th...
PawelSow
6 years agoFrequent Visitor
This unfortunatelly does not help me. In case of OData feed user provide the url to OData source. Power Bi use this url to display a form with list of all available entities types. User can choose which entities should be loaded. In my case e.g Products, Clients, Organisations. After that PowerBi try to load this data by calling relevant urls. During each of this call custom connector is executed. (I am sure about this because I inserted current time to the header.) I want to know the url which is executed or OData entity selected by user,
artemus
6 years agoMicrosoft Employee
You can either get it from:
myData = Web.Contents(...),
myDataHeaders = Value.Metadata(myData)Or you can use manual redirect handling.