Class sap.ui.model.analytics.odata4analytics.Model.ReferenceWithWorkaroundModule: sap/ui/model/analytics/odata4analytics
Handle to an already instantiated SAP UI5 OData model.
Constructor Summary
new sap.ui.model.analytics.odata4analytics.Model.ReferenceWithWorkaround(oModel, aWorkaroundID)Create a reference to an OData model having certain workarounds activated.
Constructor Detail
new sap.ui.model.analytics.odata4analytics.Model.ReferenceWithWorkaround(oModel, aWorkaroundID)
Create a reference to an OData model having certain workarounds activated. A workaround is an implementation that changes the standard behavior of the API to overcome some gap or limitation in the OData provider. The workaround implementation can be conditionally activated by passing the identifier in the contructor. "CreateLabelsFromTechnicalNames" - If a property has no label text, it gets generated from the property name. "IdentifyTextPropertiesByName" -If a dimension property has no text and another property with the same name and an appended "Name", "Text" etc. exists, they are linked via annotation.
Known workaround identifiers are:
Parameters:
{object} | oModel | holding a reference to the OData model, obtained by odata4analytics.Model.ReferenceByModel or by sap.odata4analytics.Model.ReferenceByURI. |
{string[]} | aWorkaroundID | listing all workarounds to be applied. |