[英]"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.