Provides an API to write UI2 personalization.
Node | Description |
---|
Method | Description |
---|---|
sap.ui.fl.write.api.UI2PersonalizationWriteAPI.create |
Stores a personalization object for an application under a given container key and item name pair. |
sap.ui.fl.write.api.UI2PersonalizationWriteAPI.deletePersonalization |
Deletes the personalization for a given reference. |
Stores a personalization object for an application under a given container key and item name pair.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Object with parameters as properties |
|
selector | sap.ui.fl.Selector |
To retrieve the associated flex persistence |
|
containerKey | string |
The key of the container in which the personalization should stored |
|
itemName | string |
The name under which the personalization should be stored |
|
content | string |
The personalization content to be stored |
|
category | string |
The item category with which the personalization should be stored |
|
containerCategory | string |
The container category with which the personalization should be stored |
Deletes the personalization for a given reference.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Object with parameters as properties |
|
selector | sap.ui.fl.Selector |
To retrieve the associated flex persistence |
|
reference | string |
The reference of the application for which the personalization should be deleted |
|
containerKey | string |
The key of the container for which the personalization should be deleted |
|
itemName | string |
The name under which the personalization should be deleted |