namespace sap.ui.fl.write.api.ContextSharingAPI

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

Provides an API for creating and managing the component for variant management context sharing.


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.fl.write.api.ContextSharingAPI.createComponent

Creates component for sharing contexts in variant management. In case the component already exists, it will not be created again to avoid duplicate IDs. sap.ui.fl.variants.context.Component.setSelectedContexts needs to be called afterwards.

sap.ui.fl.write.api.ContextSharingAPI.createComponent

Creates component for sharing contexts in variant management. In case the component already exists, it will not be created again to avoid duplicate IDs. sap.ui.fl.variants.context.Component.setSelectedContexts needs to be called afterwards.

Param Type DefaultValue Description
mPropertyBag object

Object with parameters as properties

layer string

Layer