/
Custom Hook Functions

Custom Hook Functions


» Custom Wizard Functions

 

Define function in the following 'apq-c3-custom\js\custom-wizard.service.js’ file

  • wizard.stepChanged: With the advanced option stepChanged you can trigger defined JavaScript function when a step is changed. (e.g myStepChangedFunction)

  • wizard.backCallback: With the advanced option backCallback you can trigger defined JavaScript function once back wizard button is selected (e.g myBackFunction)

  • wizard.nextCallback: with the advanced option nextCallback you can trigger defined JavaScript function once next wizard button is selected (e.g myNextFunction)

  • wizard.onCancel: With the advanced option onCancel you can trigger defined Java Script function upon wizard is canceled. (e.g myCancelFunction)

  • wizard.onFinish: With the advanced option onFinish you can trigger defined JavaScript function upon finish wizard step. (e.g myFinishFunction)

  • wizard.formDataChanged: With the advanced option formDataChanged you can trigger defined JavaScript function when form data has changed (e.g myFormDataChangedFunction )

 


» Card Config Custom Functions

 

Define function in the following 'apq-c3-custom\js\custom-functions.service.js' file

  • cardConfig.footer.callBackFn: With the advanced option cardConfig.footer.callBackFn you can trigger JavaScript function when widget footer is selected.

 


» Table Custom Functions

 

Define function in the following 'apq-c3-custom\js\custom-functions.service.js' file

  • table.columnHeaderUpdate: With the advanced option columnHeaderUpdate you can trigger a JavaScript function when a column header is updated. ( e.g customColumnHeaderUpdate_3 )

 


» Table Custom Hook Functions

 

Define function in the following 'apq-c3-custom\js\custom-hook-functions.service.js' file

  • table.functions.beforeCellUpdate:With the advanced option beforeCellUpdate you can trigger defined JavaScript function before any cell update (e.g beforeCellUpdate)

  • table.functions.afterCellUpdate: With the advanced option afterCellUpdate you can trigger defined JavaScript function after the cell is updated. ( e.g afterCellUpdate )

  • table.functions.beforeTableUpdate: With the advanced option beforeTableUpdate you can trigger defined JavaScript function before the table is updated. ( e.g beforeTableUpdate )

  • table.functions.afterTableUpdate: With the advanced option afterTableUpdate you can trigger defined JavaScript function after the table is updated. ( e.g afterTableUpdate )

 


» TI Process Custom Functions

 

Define function in the following 'apq-c3-custom\js\custom-functions.service.js' file

  • process.initCallback: With the advanced option initCallback you can trigger defined JavaScript function before the process modal is opened. (e.g demoProcessInitCallback)

  • process.cancelCallback: With the advanced option cancelCallback you can trigger defined JavaScript function when the user clicks the cancel button. (e.g demoProcessCancelCallback)

  • process.statusNotifications.failed.callback: With the advanced option statusNotifications.failed.callback you can trigger defined JavaScript function after the process has failed. (e.g demoProcessFailedCallback)

  • process.statusNotifications.success.callback: With the advanced option statusNotifications.success.callback you can trigger defined JavaScript function after the process has run succesfully. (e.g demoProcessSuccessCallback)

 

 

Related content

Developers and Administrators
Developers and Administrators
More like this
Changes in default.constant file
Changes in default.constant file
Read with this
2022.12 » New Control Parameters
2022.12 » New Control Parameters
More like this
Add custom classes to css file
Add custom classes to css file
Read with this
2023.02 FP1 » New Control Parameters
2023.02 FP1 » New Control Parameters
More like this
Power User - Fundamentals
Power User - Fundamentals
Read with this