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 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.
crt.HandleSidebarOpenRequest
Opens the custom sidebar.
crt.HandleSidebarCloseRequest
Closes the custom sidebar.
crt.SidebarInitRequest
Initializes the custom sidebar.
crt.ShowSidebarNotificationMarkRequest
Displays the notification mark for the custom sidebar.
crt.HideSidebarNotificationMarkRequest
Hides the notification mark for the custom sidebar.
crt.OpenSidebarRequest
Opens the custom sidebar.
crt.CloseSidebarRequest
Closes the custom sidebar.
crt.GetSidebarStateRequest
Returns the state of the custom sidebar.