manifest.json 文件可用参数说明

在SAP 开发FIORI APP时,都会用到manifest.json文件,特别是在用ELEMENTS 开发时,运用程序的很多参数都需要在manifest.json中设置,比如LIST中的多选,全选,变式等,在网络上基本找不到一个完整的manifest.json参数介绍 ,以下是从SAP UI5库中得到的一些可能参数说明。

比如在List Report 里的 table 进行设置,当前manifest.json文件如下。

manifest.json 文件可用参数说明 - 第1张  | 优通SAP

我们想知道如里面的些参数说明是什么,更完整的参数是那些,有会参数可以设置,

这时,我们可查看Component.js 文件里定义的元数据(metadata),

比如,LIST 的完整参数说明在文件以下文件的TemplateAssembler.getTemplateComponent中

http://localhost:8081/resources/sap/suite/ui/generic/template/ListReport/Component-dbg.js

manifest.json 文件可用参数说明 - 第2张  | 优通SAP

而上一级的sap.ui.generic.app参数在

http://localhost:8081/resources/sap/suite/ui/generic/template/lib/AppComponent-dbg.js

中可以找到

其它对象对应的也都可以在/resources/sap/suite/ui/generic/template/下对应的目录中找Component-dbg.js文件中找到。