...
Code Block | ||
---|---|---|
| ||
CWMH.registerHandler("EMP_FORM", CWMC.EVENT_CLICK ,function(config) { canvas.launch ({ formId :"EMP_DETAILS_FORM", modContReqd: "N" }); }); /* Here, EMP_FORM is the custom workspace menu. * The request model ID is mapped to the EMP_DETAILS_FORM * in form designer. * When the menu is clicked, the form is * launched through the canvas launch API without any container. * The parameter modContReqd: "N" has been passed to * launch the form without any container.*/ /* If you have not mapped the model ID to the self-designed form in form designer, * the model ID can be provided at runtime. Sample code is as follows:*/ CWMH.registerHandler("EMP_FORM", CWMC.EVENT_CLICK, function(config) { canvas.launch ({ formId :"EMP_DETAILS_FORM", modContReqd: "N", modelId: "REQ01" }); }); |
...