General
This <customreco> element allows you to call out to custom description code. To use the <customreco> element you must have the separate ZIE Host Access Toolkit product.
The steps for creating a custom descriptor are as follows:
- Choose a string to identify the custom description, such as
MyCustomDescriptor01
. An identifier is required because you can have several types of custom descriptions. - Implement the ECLCustomRecoListener interface.
In the doReco() method:
- Add code to check the identification string to verify that it is yours.
- Add your custom description code.
- Return true if the custom description is satisfied or false if it is not.
- Use the Code Editor to add a <customreco> element to the <description> element of the macro screen. The <customreco> element must specify the identifier you chose in step 2.
The macro runtime performs the <customreco> element after performing all the other descriptors.