handlers schema section
Request handlers are items of the HandlerChain
mechanism that let you describe business logic as an action request and a chain of handlers.
Generic request handlers include actions that open pages, work with data on pages, etc.
Generic request handlers available in Creatio 8 Atlas are available below.
Generic request handlers
crt.CreateRecordRequest
Creates a record.
crt.UpdateRecordRequest
Updates a record.
crt.OpenPageRequest
Opens a page.
crt.SaveRecordRequest
Saves data.
crt.CancelRecordChangesRequest
Cancels a record update.
crt.RunBusinessProcessRequest
Runs a business process.
crt.ClosePageRequest
Closes a page.
crt.HandleViewModelInitRequest
Initializes a view model instance.
crt.HandleViewModelResumeRequest
Adds a View
model to a container using the attach
operation.
Creatio calls the handler when you open a module that has the viewModel
parameter.
crt.HandleViewModelAttributeChangeRequest
Changes an attribute of a view model instance.
crt.HandleViewModelPauseRequest
Removes the View
model of the current module from a container using the detach
operation.
Creatio calls the handler after calling the HandleViewModelResumeRequest
handler when you switch to another module and the current module has the viewModel
parameter. Creatio does not call the handler if you open a Freedom UI page and switch to another module before executing the attach
operation.
crt.HandleViewModelDestroyRequest
Destroys a view model instance. At this stage, execute only synchronous code that destroys resources accumulated as part of runtime.
crt.ModuleLoader
Loads the client module to the Freedom UI page. Available in Creatio 8.1.3 and later.
crt.HandleSidebarOpenRequest
Opens the custom sidebar. Available in Creatio 8.1.4 and later.
crt.HandleSidebarCloseRequest
Closes the custom sidebar. Available in Creatio 8.1.4 and later.
crt.SidebarInitRequest
Initializes the custom sidebar. Available in Creatio 8.1.4 and later.
crt.ShowSidebarNotificationMarkRequest
Displays the notification mark for the custom sidebar. Available in Creatio 8.1.4 and later.
crt.HideSidebarNotificationMarkRequest
Hides the notification mark for the custom sidebar. Available in Creatio 8.1.4 and later.
crt.OpenSidebarRequest
Opens the custom sidebar. Available in Creatio 8.1.4 and later.
crt.CloseSidebarRequest
Closes the custom sidebar. Available in Creatio 8.1.4 and later.
crt.GetSidebarStateRequest
Returns the state of the custom sidebar. Available in Creatio 8.1.4 and later.