Factory for app variants.
Node | Description |
---|
Method | Description |
---|---|
sap.ui.fl.descriptorRelated.api.DescriptorVariantFactory.createAppVariant |
Creates a new app variant. |
sap.ui.fl.descriptorRelated.api.DescriptorVariantFactory.createDeletion |
Creates an app variant deletion. |
sap.ui.fl.descriptorRelated.api.DescriptorVariantFactory.createForExisting |
Creates an app variant instance for an existing app variant. |
sap.ui.fl.descriptorRelated.api.DescriptorVariantFactory.createNew |
Creates a new app variant. |
Creates a new app variant.
Param | Type | DefaultValue | Description |
---|---|---|---|
mParameters | object |
Parameters |
|
reference | string |
Proposed referenced descriptor or app variant ID (might be overwritten by the back end) |
|
id | string |
App variant ID |
|
version | string |
Version of the app variant |
|
layer | string | 'CUSTOMER' |
Proposed layer of the app variant (might be overwritten by the back end) |
skipIam | boolean | false |
Indicates whether the default IAM item creation and registration is skipped |
Creates an app variant deletion.
Param | Type | DefaultValue | Description |
---|---|---|---|
sId | string |
App variant ID |
Creates an app variant instance for an existing app variant.
Param | Type | DefaultValue | Description |
---|---|---|---|
sId | string |
App variant ID |
Creates a new app variant.
Param | Type | DefaultValue | Description |
---|---|---|---|
mParameters | object |
Parameters |
|
reference | string |
Proposed referenced descriptor or app variant ID (might be overwritten by the back end) |
|
id | string |
App variant ID |
|
version | string |
Version of the app variant |
|
layer | string | 'CUSTOMER' |
Proposed layer of the app variant (might be overwritten by the back end) |
skipIam | boolean | false |
Indicates whether the default IAM item creation and registration is skipped |