namespace sap.ui.fl.write.api.FeaturesAPI

Visiblity: public
Available since: N/A
Module: sap/ui/fl/write/api/FeaturesAPI
Application Component: CA-UI5-FL

Provides an API to determine which features are available for flexibility.


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.fl.write.api.FeaturesAPI.isContextSharingEnabled

Checks if context sharing is enbaled.

sap.ui.fl.write.api.FeaturesAPI.isKeyUser

Checks if key user rights are available for the current user. Application developers can use this API to decide if the key user adaptation feature should be visible to the current user. This only applies if key user adaptation should be handled standalone without an SAP Fiori launchpad.

sap.ui.fl.write.api.FeaturesAPI.isKeyUserTranslationEnabled

Checks if key user has also the admin role to enable the translation button

sap.ui.fl.write.api.FeaturesAPI.isPublishAvailable

Determines if the current runtime can publish flexibility content in the connected backend.

sap.ui.fl.write.api.FeaturesAPI.isSaveAsAvailable

App variant functionality is only supported in S/4HANA Cloud Platform & S/4HANA on Premise. App variant functionality should be available if the following conditions are met: When the current layer is 'CUSTOMER'. When it is not a standalone app runing on Neo Cloud. When the backend supports this feature.

sap.ui.fl.write.api.FeaturesAPI.isVersioningEnabled

Checks if the data storing implementation for a given layer is capable of handling versioning.

sap.ui.fl.write.api.FeaturesAPI.isContextSharingEnabled

Checks if context sharing is enbaled.

Param Type DefaultValue Description
sLayer string

Layer to get correct connector

sap.ui.fl.write.api.FeaturesAPI.isKeyUser

Checks if key user rights are available for the current user. Application developers can use this API to decide if the key user adaptation feature should be visible to the current user. This only applies if key user adaptation should be handled standalone without an SAP Fiori launchpad.

Param Type DefaultValue Description

sap.ui.fl.write.api.FeaturesAPI.isKeyUserTranslationEnabled

Checks if key user has also the admin role to enable the translation button

Param Type DefaultValue Description

sap.ui.fl.write.api.FeaturesAPI.isPublishAvailable

Determines if the current runtime can publish flexibility content in the connected backend.

Param Type DefaultValue Description

sap.ui.fl.write.api.FeaturesAPI.isSaveAsAvailable

App variant functionality is only supported in S/4HANA Cloud Platform & S/4HANA on Premise. App variant functionality should be available if the following conditions are met: When the current layer is 'CUSTOMER'. When it is not a standalone app runing on Neo Cloud. When the backend supports this feature.

Param Type DefaultValue Description
sLayer string

Layer to check for key user app variants

sap.ui.fl.write.api.FeaturesAPI.isVersioningEnabled

Checks if the data storing implementation for a given layer is capable of handling versioning.

Param Type DefaultValue Description
sLayer string

Layer to check for the draft versioning