The following procedure describes how to pass a static
parameter using question properties. This procedure assumes you have
created a guide containing a question and a response with a Call URL
node.
- From the open guide, right-click the question you want
to declare the static parameter for and select Edit.
The Edit Question Properties window
opens.
- Expand the Name-Value Pairs section and click Add.
- Enter the name of the parameter in the Name field.
If passing a parameter to a B2C Service field, such as a field on
the Ask a Question page, use the format table.fieldname. For example, to pass a parameter to
the Products field, enter incidents.prod
. Custom fields are indicated in the
format table.c$fieldname, such as incidents.c$priority
.
- Enter the parameter value you want to pass in the Value field.
If passing a parameter to a B2C Service field, be sure to use a value consistent
with the purpose and type for the field. For example, to set a Yes/No field, use a response
value of 1 for Yes and 0 for No. To pass a value to the Products field, you would enter a
number or number sequence corresponding to the product ID.
- Click OK.
- Right-click the Call URL node and select Edit.
The Edit Call URL Properties window
displays the URL, parameter pass method, and all name-value pairs
that will be passed as parameters.
- Select a parameter pass method from the Parameter Pass
Method field. Available options include Get and Post.
The Post method must be used when passing parameters to set
fields on a page, such as when setting the Product field on the Ask
a Question page.
- Click OK.
- Click Save.