The descriptor (manifest.json) for applications is inspired by the Web Application Manifest concept introduced by the W3C. The descriptor provides a location/space for storing metadata associated with an application.

The data is stored in json format in the manifest.json file. It is created with attributes in different namespaces and contains, for example, the app ID, the version, the data sources used, along with the required components and libraries. The existence of the manifest.json file must be declared in the component metadata. After the application delivery, the file becomes read-only and not recommended to be changed.
Lets look at the example code snippet and understand how and where to use the relevant code:
{ "_version": "1.3.0" , //mandatory descriptor format version //without namespace are some w3c manifest standard attributes "start_url": "index.html", "sap.app": { //general application attributes - in sap.app namespace "_version": "1.3.0", //mandatory namespace format version "id": "sap.fiori.appName", //mandatory unique app identifier "type": "application", //values - "application"/"component" "i18n": "", //optional: relative path to properties file "applicationVersion": { "version": "1.2.2" //version number incl. patch version }, //mandatory for nested manifest.json "embeds": [ "mycomponent1" , "subpath/mycomponent2" ], //relative path back to manifest.json(mandatory for nested manifest.json) "embeddedBy": "../../", "title": "{{title}}", //mandatory, language-dependent "subTitle": "{{subtitle}}", //language-dependent "description": "{{description}}", //language-dependent "tags": { //general keywords "keywords": ["{{keyWord1}}","{{keyWord2}}"], }, "ach" : "PA-FIO" , //application component hierarchy "dataSources": { //used data sources "equipment": { //key is alias which is used below //version is part of uri, e.g. ";v=2", default is 1 "uri": "/sap/opu/odata/snce/PO_S_SRV;v=2/" , //OData (default)|ODataAnnotation|INA|XML|JSON "type": "OData" , //data-source-type-specific attributes "settings": { //possible values: 2.0 (default), 4.0 "odataVersion": "2.0" , //filled e.g. for Smart Template "annotations": [ "equipmentanno" ], //optional, relative url to local metadata "localUri": "model/metadata.xml" "maxAge": 360 //time in seconds } }, "equipmentanno": { "uri": "/sap/bc/bsp/sap/BSCBN_ANF_EAM/ BSCBN_EQUIPMENT_SRV.anno.XML", "type": "ODataAnnotation", //data-source-type-specific attributes "settings": { //optional, relative url to local annotation uri "localUri": "model/annotations.xml" } } }, //added if used via INA protocol and not via OData service "cdsViews": [ "VIEW1", "VIEW2" ], //relative url as reference to a file //which contains list of all resources needed by the apps "resources": "resources.json" , "offline": true //true, false (default) //filled if app had been generated from a template "sourceTemplate": { "id": "sap.ui.ui5-template-plugin.1worklist", "version": "1.0.0" }, //destination/system alias (can be used at runtime for //absolute URL construction; can be either set in code-level //descriptor as a logical destination, or later on //configuration level with a concrete destination), //usually empty for SAPUI5 apps on FeS and filles for //legacy apps like WDA/SAP GUI "destination": { "name": "SAP_ERP_FIN" }, //array of directly used open source libs //(not when used via UI5 capsulation) "openSourceComponents": [ { "name": "D3.js", //name of the OS component //indicator -it is part of the app or not "packagedWithMySelf": false }, ... ], //cross navigation scopes, inbounds and outbounds "crossNavigation": { "scopes": { "sapSite": { "value": "123"} //Unique ID of a site }, "inbounds": { "contactCreate": { "semanticObject": "Contact", "action": "create", "icon": "sap-icon://add-contact", //optional "title": "{{title}}", //optional "subTitle": "{{subtitle}}", //optional //only needed for dynamic App Launcher "indicatorDataSource": { //reference to sap.app/dataSources "dataSource": "ppm", //relative path to sap.app/dataSources uri "path": "TaskListSet/$count", "refresh": 5 //refresh interval }, //if empty: take default from sap.ui/deviceTypes "deviceTypes": { "desktop": true, //true, false "tablet": true, //true, false "phone": false //true, false }, "signature": { "parameters": { "id": { "required": true }, "ContactName": { "defaultValue": { "value": "anonymous" }, "required": false, "renameTo": "NAME2" }, "Gender": { "filter": { "value": "(male)|(female)", "format": "regexp" }, "required": true "renameTo": "SEX" } }, //"ignored", "allowed", "notallowed" "additionalParameters": "ignored" } }, "contactDisplay": { "semanticObject": "Contact", "action": "display", "signature": { "parameters": { "id": { "required": true }, "Language": { "filter": { "value": "EN" }, "required": true }, "SomeValue": { "filter": { "value": "4711" } }, "GLAccount": { "defaultValue": { "value": "1000" }, "filter": { "value": "(1000)|(2000)", "format": "regexp" } } } } }, "contactDisplayAlt": { "semanticObject": "Contact", "action": "display", "signature": { "parameters": { "GLAccount": { "defaultValue": { "value": "UserDefault.GLAccount", "format": "reference" }, "filter": { "value": "\\d+", "format": "regexp" }, "required": true }, "SomePar": { "filter": { "value": "UserDefault.CostCenter", "format": "reference" }, "required": true } } } } }, "outbounds": { "addressDisplay": { "semanticObject": "Address", "action": "display", "parameters": { "companyName": {} } }, "companyDisplay": { "semanticObject": "Company", "action": "display", "parameters": { "companyName": {} } } } } }, "sap.ui": { //general ui attributes - in sap.ui namespace "_version": "1.3.0", //mandatory namespace format version "technology": "UI5" //app type UI5, WDA, NWBC, URL, GUI (new) "icons": { "icon": "sap-icon://add-contact", //the ICO file to be used "favIcon": "icon/F1373_Approve_Purchase_Orders.ico", //57x57 pixel version for non-retina iPhones "phone": "icon/launchicon/57_iPhone_Desktop_Launch.png", //114x114 pixel version "phone@2": "icon/launchicon/114_iPhone-Retina_Web_Clip.png", //72x72 pixel version "tablet": "icon/launchicon/72_iPad_Desktop_Launch.png", //144x144 pixel version "tablet@2": "icon/launchicon/144_iPad_Retina_Web_Clip.png" }, "deviceTypes": { //mandatory, needed for docu "desktop": true, //true, false "tablet": true, //true, false "phone": false //true, false }, "supportedThemes": [ //mandatory, only SAP themes "sap_hcb", "sap_bluecrystal" ], "fullWidth": true //indicate if app run in full screen mode }, "sap.ui5": { //SAPUI5-specific attributes - in sap.ui5 namespace "_version": "1.1.0", //mandatory namespace format version "resources":{ //relative urls inside component "js": [{ "uri": "component.js" }], "css": [{ "uri": "component.css", "id": "componentcss" //id optional as style tags }] }, "dependencies": { //external dependencies "minUI5Version": "1.34.0" , //minimum ver of ui5 dist layer "libs": { //used ui5 libraries "sap.m": { "minVersion": "1.34.0" //minimum version }, "sap.ui.commons": { "minVersion": "1.34.0" , //minimum version "lazy": "true //values true/false (default: false) } } } "components": { "sap.ui.app.other": { "minVersion": "1.1.0" , //minimum version "lazy": "true //values true/false (default: false) } } }, "models": { "i18n": { "type": "sap.ui.model.resource.ResourceModel", //relative url inside component "uri": "i18n/i18n.properties" }, "equipment": { //empty string "" is the default model //reference of dataSource under sap.app "dataSource": "equipment", "settings": { } } }, "rootView": "sap.ui.test.view.Main", //root view //enable/disable validation handling by MessageManager "handleValidation": true, //true, false (default) "config": { //configuration }, "routing": { //navigation }, "extends": { //extends another component "component": "sap.fiori.otherApp", "minVersion": "0.8.15" //minimal version "extensions": { //formerly called customizing //extensions } }, "contentDensities": { //mandatory "compact": true, //mandatory, true, false "cozy": false //mandatory, true, false }, "resourceRoots": { ".myname": "./myname" }; "componentName": "sap.fiori.appName" //UI5 component name }, "sap.platform.abap": { //ABAP-platform-specific attributes "_version": "1.1.0", //namespace format version "uri": "/sap/bc/ui5_ui5/sap/appName", //uri of the app "uriNwbc": "" //represents alternative uri }, "sap.platform.hcp": { //HANA-Cloud-Platform-specific attributes "_version": "1.1.0", //namespace format version "uri": "", //uri inside HTML5 application; default is "" "uriNwbc": "" //represents alternative uri }, //other namespaces "sap.mobile": { //in Mobile responsibility ... }, "sap.flp": { //in FLP responsibility ... }, "sap.ui.generic.app": { //in Smart Template responsibility ... }, "sap.ovp": { //in Overview Page responsibility ... }, "sap.ui.smartbusiness.app": { //in Smart Business responsibility ... }, "sap.wda": { //in Web Dypro ABAP responsibility ... }, "sap.gui": { //in SAP GUI responsibility ... }, "sap.cloud.portal": { //in SAP Cloud Portal responsibility ... }, "sap.apf": { //in analysis path framework responsibility ... } }












