...
Launch another workspaceAnchor launch_another_workspace launch_another_workspace Syntax
Code Block language text canvas.launch( { workspaceId: '<WORKSPACE_ID>', callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch({ 'workspaceId':'ACC_SERV_WSPACE' });
Launch a workspace and layoutAnchor launch_workspace_layout launch_workspace_layout Syntax
Code Block language text canvas.launch( { workspaceId: '<WORKSPACE_ID>', layoutId: '<LAYOUT_ID>', callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'workspaceId' : 'CHART_WS', 'layoutId':'CHART_LYT' });
Launch a workspace, layout, then a widgetAnchor launch_workspace_layout_widget launch_workspace_layout_widget Syntax
Code Block language text canvas.launch( { workspaceId: '<WORKSPACE_ID>', layoutId: '<LAYOUT_ID>', widgetId: '<WIDGET_ID>', callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'renderTypeworkspaceId' : 'LOANS_WS', 'layoutId':'WINDOWLOANS_LYT', 'widgetId':'CT_LOAN_SUMMARY_WGT' });
Launch a widget in modal windowAnchor launch_widget_modal_window launch_widget_modal_window Syntax
Code Block language text canvas.launch( { renderType:'WINDOW', widgetId: '<WIDGET_ID>', width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'renderType':'WINDOW', 'widgetId':'CT_LOAN_SUMMARY_WGT' });
Launch a form with container in Modal windowAnchor launch_form_modal_window launch_form_modal_window Syntax
Code Block language text canvas.launch( { renderType:'WINDOW', formId: '<FORM_ID>', containerId: '<CONTAINER_ID>', width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'renderType':'WINDOW','formId':'CT_PAYMENT_FORM', 'containerId':'PAYMENTS_FORM_CONTAINER' });
Launch a form without container in Modal windowAnchor launch_from_without_modal_window launch_from_without_modal_window
SyntaxCode Block language text canvas.launch( { renderType:'WINDOW', formId: '<FORM_ID>', width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'renderType':'WINDOW','formId':'CT_PAYMENT_FORM' });
Form rendered in an app with containerAnchor form_rendered_app form_rendered_app Syntax
Code Block language text canvas.launch( { formId: '<FORM_ID>', containerId: '<CONTAINER_ID>', RenderType : 'APP', workspaceId: '<WORKSPACE_ID>', layoutId: '<LAYOUT_ID>', widgetId: '<WIDGET_ID>', width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'formId':'CT_PAYMENT_FORM', 'containerId':'PAYMENTS_FORM_CONTAINER', 'renderType':'APP', 'workspaceId': 'ACC_SERV_WSPACE', 'layoutId': 'ACC_SERV_LYT', 'widgetId': 'EMPTYAPP' });
Form renders with form object and container in Modal Window:Anchor from_rendered_with_object_container from_rendered_with_object_container Syntax
Code Block language text canvas.launch( { fm: '<fm_Obj>', containerId: '<CONTAINER_ID>', width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text var frmMgr = new ct.form.FormManager({formId: 'CT_PAYMENT_FORM'}); canvas.launch({'fm': frmMgr, 'containerId':'PAYMENTS_FORM_CONTAINER'});
Form renders with form object and without container in Modal Window:Anchor from_without_container from_without_container Syntax
Code Block language text canvas.launch( { fm: '<fm_Obj>', width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text var frmMgr = new ct.form.FormManager( { formId: 'CT_PAYMENT_FORM' }); canvas.launch({'fm': frmMgr});
Launch a custom HTML Content in Modal WindowAnchor html_content html_content Syntax
Code Block language text canvas.launch( { modalContent: '<HTML_DOM>', title: '<TITLE_OF_WINDOW>', (Optional) width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'modalContent': 'Hello' });
Launch pre-defined dialog messages in the modal windowAnchor predefined_dialog predefined_dialog Syntax
Code Block language text canvas.launch( { message: '<MESSAGE_OF_DIALOG>', dialogType:'CONFIRMATION'|'MESSAGE'|'WARN_EDIT_OK'|'SUCCESS'|'ERROR'|'WARNING' width: '<WIDTH_IN_%_OR_PXL>', (Optional) height: '<HEIGHT_IN_%_OR_PXL>', (Optional) fullScreenInd: <TRUE | FALSE>, (Optional) closeOnEsc: <TRUE | FALSE>, (Optional) modalDialog: <TRUE | FALSE>, (Optional) draggable : <TRUE | FALSE>, (Optional) callback: <function(){}> (Optional) });
Example
Code Block language text canvas.launch( { 'message': 'The mandatory fields are not filled-in' , 'dialogType' : 'ERROR' });
...