Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



The Canvas Core Layer, could be further broken down into the component registries and Component Managers. The following sections provide an extensive view of all such registries and managers and their significance in leading up to an omni-channel framework.

...

Library developers responsibilities: Library developers are expected to register their component definitions against their component meta data.

Syntax:


Code Block
languagejs
CLCR.registerCmp({'KEY':'VALUE'},<<Your Namespace>>);


CMHR – Context Menu Handler Registry.

...

Syntax:

Code Block
languagexmljs
CMHR.registerHandler("MENU_ID", function (config){
		//config.record.data gives data of the clicked node in grid
}

...

Syntax:

Code Block
languagexmljs
CWEH.registerHandler("APP_ID",CWEC.<<EventId>>,function(){ 
		// Business functionality here 
});

...


CWMH – Canvas Workspace Menu Handler Registry

What is this registry: This is the registry that stores workspace menu handlers for all the configured menu Items in WORKSPACE_MENU_DEFINITION table.

...

Syntax:

Code Block
languagexmljs
IWMHCWMH.registerHandler("MENU_ID", IWMCCWMC.<<Event Id>>, function (){
		// Business functionality here
} 

...