-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Using this library to consume Microsoft Dynamics 365 Business Central (formerly Microsoft Dynamics NAV) ODataV4 web services, I had to find a way to not be limited to the default service company of the endpoint.
Normally, to specify a company within the source database to connect to, the url would be in the form of <endpoint>/Company('CompanyName')/EntitySet
But providing this as url to the ODataService class does not accept $metadata
The solution is to pass <endpoint>/Company('CompanyName')/ as url to ODataService and pass <endpoint>/ as new metadata_url parameter to ODataService
And then additionaly, in the Metadata class, use the metadata_url instead of url
Happy to contribute the code changes if required
LOVE this library
Metadata
Metadata
Assignees
Labels
No labels

