To create a question and answer tree,
create a question, and then
add a selection of possible answers. For each answer, you can create
one follow-up
question. Repeat the process until you want to provide the customer
with links
to products whose features satisfy the selected answers. At this point,
the
question and answer tree is complete.
About this task
To create the
question and answer tree, complete the following
steps.
Procedure
- Edit
the XML input file
- Insert a <qnaTree>
element immediately after the <metaphorLink>
element. The XML code will look like the following: <qnatree></qnatree>
- To create the first question:
- Insert a <rootQuestion> element between the
qnaTree
begin and end tags.
- Insert a conceptInfo element between the
rootQuestion begin and end tags. The XML code will look like the following:
<qnatree>
<rootQuestion>
<conceptInfo>
</conceptInfo>
</rootQuestion>
</qnatree>
- You can create additional <conceptInfo>
elements if required
to support multiple languages. Repeat step 3b, but insert the new <conceptInfo>
element after the original <conceptInfo> element.
- Create answers for the root question
of the metaphor:
- Insert the following
elements after the <rootQuestion>
element:
<answer>
<orderSeq></orderSeq>
<conceptInfo></conceptInfo>
<constraint></constraint>
<metaphorLink></metaphorLink>
</answer>
- Enter a number between the <orderSeq>
begin and
end tags. This number corresponds to the sequence in which the answers
are
displayed to the customer. When you have multiple answers for a question,
they are listed for the customer, with the answer with the lowest
sequence
number being listed first. Multiple answers for the same question
must each
have unique orderSeq values.
- Enter the conceptInfo
information.
- Enter the constraint information.
- Enter the metaphorLink
element. Note: If
no metaphorLink element is added, and no follow-up question
exists, then the answer will link to the default link specified for
the Guided
Sell metaphor. The default link was defined in the create
a default link for the metaphor online help file. For more
information
about linking, refer to create a link
for an answer.
- To add another
answer for the same question, repeat steps 4a
to 4e, but insert the new answer element after the original answer
element.
You can create as many answers as you want.
- Create a follow-up question for each answer:
- Insert a <question> element between the
answer
begin and end tags, but after the constraint end tag.
- Insert a conceptInfo element between the
question begin and end tags.
- You can
create additional <conceptInfo> elements if required.
Repeat step 5b, but insert the new <conceptInfo> element after
the original <conceptInfo>
element.
- Repeat steps
4 and 5 until you have completed the question and
answer tree.