- Using B2C Service
- Pass a Parameter Using Response Properties
Pass a Parameter Using Response Properties
The following procedure describes how to pass a parameter using response 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 containing
the response and Call URL node, and select Edit.
The Edit Question Properties window opens.
- Enter the name of the parameter you want to pass in the Question 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 asincidents.c$priority
. - In the Question Responses section, select the response
containing the Call URL node and click Edit Response.
The Edit Response Properties window opens.
- Enter the parameter value you want to pass in the Response 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.
- 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.
Related Topics