Hi community!
Do you know if it is possible to include new items on the left panel in mobile application and when we click on it, it opens a new bpm'online blank page or an external link for example and not necessarily a new or existing section?
Thanks a lot.
Like
Please use the code specified below
//new module
Ext.define("Terrasoft.configuration.action.MyMenuAction", {
extend: "Terrasoft.BaseMenuAction",
config: {
myMessage: null,
disableSelection: true
},
execute: function() {
this.executionStart();
Terrasoft.MessageBox.showMessage(this.getMyMessage());
this.executionEnd(true);
}
});
Terrasoft.sdk.Application.addMenuAction({
name: "myItem",
caption: "MyMenuItemLS",
iconCls: "cf-my-menu-item-icon",
position: -1,
actionClassName: "Terrasoft.configuration.action.MyMenuAction",
actionClassConfig: {
myMessage: "My menu item tapped"
}
});
//on the Less tab
.cf-my-menu-item-icon {
background-image: url(data:image/svg+xml;base64,PHN...);
}
//adding the schema to the manifest
{
…...
"CustomSchemas": [
"MainMenuActionConfig"
]
}