Provides an API to handle specific functionalities for the sap.ui.comp
library.
Node | Description |
---|---|
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.Response |
Object containing data for a SmartVariantManagement control. |
Method | Description |
---|---|
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.getDefaultVariantId |
Retrieves the default variant for the current control synchronously. WARNING: The consumer has to make sure that the changes have already been retrieved with |
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isApplicationVariant |
Indicates if the current application is a variant of an existing one. |
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isDeveloperLayer |
Indicates if a developer layer is selected. Any layer below Customer is considered a developer layer. |
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isVariantDownport |
Indicates whether the variant downport scenario is enabled or not. This scenario is only enabled if the current layer is the VENDOR layer and the URL parameter hotfix is set to |
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isVendorLayer |
Indicates if the VENDOR layer is selected. |
Retrieves the default variant for the current control synchronously. WARNING: The consumer has to make sure that the changes have already been retrieved with getChanges
. It's recommended to use the async API getDefaultVariantId
, which works regardless of any preconditions.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Object with parameters as properties |
|
control | sap.ui.comp.smartvariants.SmartVariantManagement |
SAPUI5 Smart Variant Management control |
Indicates if the current application is a variant of an existing one.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Object with parameters as properties |
|
control | sap.ui.comp.smartvariants.SmartVariantManagement |
SAPUI5 Smart Variant Management control |
Indicates if a developer layer is selected. Any layer below Customer is considered a developer layer.
Param | Type | DefaultValue | Description |
---|
Indicates whether the variant downport scenario is enabled or not. This scenario is only enabled if the current layer is the VENDOR layer and the URL parameter hotfix is set to true
.
Param | Type | DefaultValue | Description |
---|
Indicates if the VENDOR layer is selected.
Param | Type | DefaultValue | Description |
---|