Develop > Presentation layer > Customize marketing > Work with Product Advisor > Create a metaphor XML input file


Prepare a Guided Sell metaphor

The steps in this section explain how to prepare Guided Sell metaphor.


Procedure

  1. Create an XML input file

  2. To build a Guided Sell metaphor, type the following between the store begin and end tags: <SalesAssistant SACID="category number"> </SalesAssistant> Where the SACID value identifies the category for which the metaphor is being created.

  3. Insert a template element between the metaphor begin and end tags to specify the JSP page that the metaphor will be based upon. This will be the default page for the metaphor. The template element will look similar to the following: <template>sa51.jsp</template> Where sa51.jsp would be replaced by the path and file name for some JSP that you have created for this purpose.

  4. Place the following elements between the metaphor begin and end tags, but after the template element for each metaphor to update: <metaphorLink></metaphorLink> <qnaTree></qnaTree>

    The metaphorLink element serves as the default link used by the Guided Sell metaphor when an answer does not link to another question, and does not specify its own metaphorLink. For more information about the content for these tags, refer to the following topics:

  5. Save the XML file.

  6. Update the production server by importing the updated XML file.


Related concepts

Guided Sell metaphor

JSP pages in Product Advisor


Related tasks

Update the metaphor settings


+

Search Tips   |   Advanced Search