CustomScripts.js

This Custom Scripts page is designed for allowing customized functionality to be added to the Quillix Web Client.  CustomScripts.js is stored in the Quillix Web install location, typically C:\Inetpub\Quillix.  Sample code is included.  The following are the JavaScript functions that may be modified.

CustomGetIndexLabel
This function is called during the dynamic creation of each index field placed on the indexing form. The incoming parameters include the Form Name (Batch Profile name or Document Type name), the Form Type ("batch" or "doctype") and the index field name as configured in the Quillix Process Manager.  The return value should be the value to be displayed for the index field name on the indexing form.  If no value is returned, the original index field name will be used.

CustomIndexFieldInit
This function is called during the initialization of the indexing form.  Specifically, the function is called after the index fields have been created on the index page, after default values have been applied, after batch field index values have been copied down, BEFORE sticky field values have been applied and BEFORE saved index field values have been populated.

CustomValidateAfterPopulateThis function is called during the initialization of the indexing form. Specifically, the function is called after the index fields have been created on the index page, after default values have been applied, after batch field index values have been copied down, after sticky field values have been applied and AFTER saved index field values have been populated.  This provides an opportunity to evaluate the saved index values and perform scripting based on those values.

CustomIndexFieldFocusOut
This function is called as part of the event procedures when focus is removed from an index field. The function receives an xml string representing the index fields from the current indexing form and allows for the modification of values for any of the index fields.

CustomCompleteValidation
This function is called during the attempt to complete a case. The parameter, CaseXMLString, is an XML string that is a copy of the current information for the case stored in XML format. The structure for this XML string is the same as seen in the batch.xml file associated with the case.

CustomUserMenu
This function is called during the initialization of the web client and can be used to supply a different list of menu options.

CustomHomePageMessage
This function is called during the initialization of the web client and can be used to supply a message to be displayed on the Home Page.

CustomProfileSelectionEvent
This function is called during the Profile Selection Event when the profile option on the capture dialog changes value.  The primary purpose is to use customized logic based on the profile chosen...such as automatically choosing a capture source.

CustomEnableMultiIndexing
This function is called when a doctype is selected. Returning 'true' will enable the multi-indexing fields for this doctype.