[英]"My Inbox": how to enable full width within Fiori launchpad?
我设法找到了一个解决方案:全宽实际上是在 My Inbox 标准应用程序的Component.js of
重新定义的。 所以我在我的收件箱扩展项目中添加了这些行:
manifest.json
{
"sap.ui": {
"fullWidth": true
}
}
Component.js
this.cross.fnd.fiori.inbox.Component.extend("cross.fnd.fiori.inbox.CA_FIORI_INBOX_EXTENSION.Component", {
metadata: {
manifest: "json"
},
/* Override code : begin ----------------------------------------------------- */
//function to handle the width of the application. It is called by FLP when app is active.
active: function () {
sap.ushell.services.AppConfiguration.setApplicationFullWidth(true);
}
/* Override code : end ----------------------------------------------------- */
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.