Developing Custom Response Handlers |
![]() ![]() ![]() |
In case of the provided response handling methods of MoreMotionAjaxManager class are are not sufficient, custom response handlers can be developed.
The name of the custom response handler function should be specified in the AjaxMgr.customRefresh() method call as follows.
See AjaxMgr.customRefresh() method call in MoreMotion Face API. actionParams configuration for Custom Refresh Action:
Parameters dataSource (Accepts MScript) The name of a dataSource configuration. All the data provided by the data source will be contained in the response. nodesToEncrypt (Accepts MScript) The names of the data nodes (separated with commas) of the data source whose values have to be encrypted. responseHandler (Accepts MScript) The name of the response handler Javascript function that will receive the AjaxResponse and manage the refreshing.
|