namespace sap.ui.fl.apply.api.SmartVariantManagementApplyAPI

Visiblity: restricted
Available since: N/A
Module: sap/ui/fl/apply/api/SmartVariantManagementApplyAPI
Application Component: CA-UI5-FL

Provides an API to handle specific functionalities for the sap.ui.comp library.


Nodes Overview

Node Description
sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.Response

Object containing data for a SmartVariantManagement control.


Methods Overview

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 getChanges. It's recommended to use the async API getDefaultVariantId, which works regardless of any preconditions.

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 true.

sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isVendorLayer

Indicates if the VENDOR layer is selected.

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 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

sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isApplicationVariant

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

sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isDeveloperLayer

Indicates if a developer layer is selected. Any layer below Customer is considered a developer layer.

Param Type DefaultValue Description

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 true.

Param Type DefaultValue Description

sap.ui.fl.apply.api.SmartVariantManagementApplyAPI.isVendorLayer

Indicates if the VENDOR layer is selected.

Param Type DefaultValue Description