on 2021 May 11 7:17 AM
I have a UI5 app where, in the manifest.json, I have defined an OData data source with a settings/localUri directive that points to a local metadata file.
However, the UI5 framework ignores this directive and instead always fetches the metadata from the service root as defined in uri value of the data source definition.
Why is UI5 ignoring my localUri directive?
Here is a relevant (modified) excerpt from my manifest.json:
"dataSources": {
"C4C_ODATAAPI": {
"uri": "https://mynnnnnn.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/$metadata",
"type": "OData",
"settings": {
"localUri": "localService/c4codataapi.edmx.xml"
}
}
}
Request clarification before answering.
Hi Martin,
Have you found a solution in order to get the application reading the metadata from a local file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.