Information how to add new attributes of descriptor versions higher than V2 (SAPUI5 1.30) to the descriptor file.
Attribute |
Version* |
Description |
Example |
---|---|---|---|
_version |
V3 (1.32) |
Needs to be updated in the manifest.json file when migrating to a new descriptor version:
|
{ "_version": "1.4.0", "sap.app": { ... |
sap.app/crossNavigation |
V3 (1.32) |
Contains navigation information and is a mandatory attribute in the manifest.json file for SAP Fiori apps; the attribute contains two sections:
|
|
sap.app/subTitle |
V4 (1.34) |
Added to the manifest.json file by using the {{...}} syntax Note
Text symbols must be part of the properties file which is defined in sap.app/i18n (default "i18n/i18n.properties"). |
"sap.app": { "_version": "1.3.0", ... "title": "{{title}}", "subTitle": "{{subtitle}}", |
sap.app/crossNavigation/inbounds/<inboundname>/subTitle |
V4 (1.34) |
Used to overwrite the subTitle attribute per inbound; use the {{...}} syntax to add the attribute to the manifest.json file Note
Text symbols must be part of the properties file which is defined in sap.app/i18n (default "i18n/i18n.properties"). |
"sap.app": { "_version": "1.3.0", ... "crossNavigation": { "inbounds": { "contactCreate": { "semanticObject": "Contact", "action": "create", "icon": "sap-icon://add-contact", "title": "{{title}}", "subTitle": "{{subtitleOther}}", |
sap.ui/fullWidth |
V4 (1.34) |
Indicates whether an app shall run in full screen mode (true) |
"sap.ui": { "_version": "1.3.0", "technology": "UI5", ... "fullWidth": true |
sap.ui5/dependencies/components/<componentname>/lazy and dependencies/libs/<libname>/lazy |
V4 (1.34) |
If dependencies/components/<componentname>/lazy and dependencies/libs/<libname>/lazy are set to true, the attribute indicates in a SAP Fiori app that a dependency shall be lazy loaded (default is false), see the example for manifest.json for the SAP Fiori app. |
Example for manifest.json for the SAP Fiori app: "sap.ui5": { "_version": "1.2.0", ... "dependencies": { "minUI5Version": "1.34.0", "libs": { "sap.m": { "minVersion": "1.34.0" }, "sap.ui.commons": { "minVersion": "1.34.0", "lazy": true } }, "components": { "sap.ui.app.other": { "minVersion": "1.1.0" "lazy": true } } }, |
sapui5/routing/config/async |
V4 (1.34) |
General setting for routing that indicates how the views are loaded; if set to true, the views are loaded asynchronously (default is false) For performance reasons, we recommend to always use the async setting. This recommendation implies that you have followed the SAPUI5 programming model in general and do not rely on any sync-execution depending event-orders. |
"sap.ui5": { "_version": "1.2.0", ... "routing": { "config": { "viewType": "XML", "async": true ... }, ... |
sap.ui5/models/preload |
V5 (1.38) |
Defines whether or not the model is initialized (preloaded) before the component instance is created and while loading the component preload and its dependencies |
"equipment": { "preload": true, "dataSource": "equipment", ... } |
* Available as of descriptor version (SAPUI5 version)