...
Code Block | ||||
---|---|---|---|---|
| ||||
akioma.swat.Message.displayMessageNum("MSGGROUP", 56, { type: 'confirm', // the type is coming also from the back-end, but it can be overwritten closeOnEsc: false, closeOnClickOutside: false, modal: true // if not specified, it will use the defaults for the message type }) ?? // get message type from the backend akioma.swat.Message.getMessageType("MSGGROUP", 56).then(msgType=> { console.log(msgType); }); ?? akioma.swat.Message.getMessageNum("OSCISTDMSGGROUP", 56).then(result => { akioma.swat.Message.message({ type : "warning", showMessageCode: false, // default is TRUE, if to display or not the message code after the text of the message text : result.MessageText, modal : true }); }); |
...