Customizing the Questions Tree
The Questions Tree (C1-CSRTQuestionTree) is built on the Tree object in Framework. Refer to Trees for more information.
C1-CSRTQuestionTree is configured to display up to 25 levels of related / conditional questions. Implementations can extend this by adding tree nodes to this base tree.
- Tree Node - CS Request Type Question Root (C1CSRTQROOT) - populates the information on the top-level nodes. It uses the messages 11131,12409 and 11131,12410 to display the question's sort sequence, question text and status (if Inactive).
- Tree Node - CS Request Type Question - Related Questions (C1CSRTQRELQ) - populates the information on the child nodes that display related/conditional questions. It uses the messages 11131,12411 and 11131,12412 to display: valid answer, question's sort sequence, question text and status (if Inactive).
If the base-supplied node information is not suitable to the implementation, the Populate Node algorithm can be overridden by plugging in a custom Override Information algorithm on the base tree node.
Lastly, the base product provides a Populate Node algorithm that checks if there are more related question levels than can be displayed, based on the configured number of tree nodes - i.e. either the 25 levels in base or the implementation-specific number of levels). To use this algorithm, configure an extra tree node level at the end and specify a Populate Node algorithm of Tree Node - Check If More Related Questions Exist (C1CSRTQCHKRQ).