Component Configuration.js – 所有支持属性列表 – configuration priority

  • 2019 年 10 月 4 日
  • 筆記

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

本文链接:https://jerry.blog.csdn.net/article/details/100849775

  • mockServerList
  • System defined defaults
  • Server wide defaults, read from sap-ui-config.json
  • Properties of the global configuration object window[“sap-ui-config”]
  • A configuration string in the data-sap-ui-config attribute of the bootstrap tag

Created by Jerry Wang, last modified on Sep 14, 2015

configuration.js的位置

configuration的优先级:

例子

  • in the URL : sap-ui-PARAMETER-NAME=“value”
  • in the DOM : data-sap-ui-PARAMETER-NAME=“value”
  • where PARAMETER-NAME is the name of the parameter in lower case.
  • Values of boolean parameters are case insensitive where “true” and “x” are interpreted as true. 所有支持的parameter列表:

准备初始化odataModel:

拿到application里的配置: