Siebel SmartScript Administration Guide > Working with Questions, Answers, and Translations > About Creating Questions >

Creating Questions


This topic describes how to create a question.

To create a question

  1. Navigate to Administration - SmartScript screen > Questions view.
  2. Create a new record, and enter the question's attributes in the More Info form.

    The following table describes the attributes a question can have.

    Question Setting
    Description

    Name

    The question's name is a label that identifies the subject of the question. When you build a page, you select each question by name.

    Answer Type

    Data type for the answer to this question:

    • String—Alphanumeric characters
    • Integer—Whole number only
    • Number—Numerals only
    • Currency—Numerals only

      Uses currency code and exchange date for currency conversion

    • Boolean—Yes or No answer; usually displayed as a check box
    • Date—Date only
    • Date & Time—Date and time
    • Time—Time only

    Answer Control

    The type of answer control you want to use:

    • Check box—Single-select (Boolean) and multiselect check boxes
    • Default

      The default answer control used depends on the associated answer type.

    • Dropdown—Displays the list of answer selections
    • None—No answer control; question text only
    • Radio Button- Single select list of items displayed as radio buttons

    Pick Only

    Indicates that the answer must be chosen from the list of answers attached to the question.

    Min Length and Max Length

    Used with Date, Integer, Number, Date & Time, and Time answer types to constrain the values that can be entered.

    These fields can also be used with String answer types to indicate the minimum and maximum number of characters (bytes) allowed in the string.

    Note the following:

    • The minimum restriction you specify for Min Length triggers only when you try to edit the question value irrespective of whether you are creating a new record or updating an existing one.
    • In Asian (double-byte) languages, each character requires two bytes. Therefore, the minimum or maximum string length the user is allowed to enter in an Asian language is one-half of the number entered in these fields.

    Auto Sub Parm

    Specifies a list of parameters that can be used to automatically substitute values into the question text. In the question text, if brackets ([ ]) appear around a word, the word is interpreted as a substitution parameter. This parameter might be a user parameter set in the SmartScript, a business component field, or a parameter pulled from an application, such as a CTI parameter. Any question text in brackets that is listed in the auto substitute parameters field is converted to the current value for that parameter.

    NOTE:  The [BC.Field Name] works only if the SmartScript is positioned on the relevant Business Component. If the user has positioned on a business component by scripting behind the SmartScript, no data is retrieved.
    Example:
    [User.Last Name], [User.First Name], [Contact.Phone Number]

    Must Answer

    Indicates whether this question is optional, always required, or required only if it is reached:

    • Required only if reached—Means that if a user goes down a branch in the SmartScript where a question is displayed, the question must be answered before the user can proceed in the SmartScript.
    • Always required—Is the strictest answer setting, because the user cannot finish the SmartScript unless the designated questions are answered.

    Default Answer

    The default answer displayed for the question. This is one of the answers defined for the question. If the answer must be selected from a pick applet, then the default answer is not displayed.

    Width

    The width, in pixels, of the text box provided for answers.

    Height

    The height, in pixels, of the text box provided for answers.

    Search Spec

    Applies the entered search specification to make a specific record active in a business component. Search Spec can be used for many purposes. For example, a search spec can be used along with user parameters to search, for instance, in a particular business component for a record with some field value equal to an answer in a previous question (assuming the answer to the previous question had been saved to a user parameter). A search spec can also be used with Auto Substitute Parameters to insert field values into the text of a SmartScript question. Search Spec syntaxes are the same as those used in Siebel Tools. For more information on setting up Search specifications see Siebel Search Administration Guide. For more information on Siebel Tools, see Using Siebel Tools.

    Save Business Object

    The business object in which the answer to the question is stored.

    Save Bus Comp

    The business component in which the answer to the question is stored.

    Note that to save a question's answer to a business component field, the business object, the business component, and the field name must be specified for the question. For more information, see Displaying Answers Within a SmartScript.

    Save Field

    The field in the business object or business component table that is to contain the answer data, or that is used to identify the specific record that contains the answer data.

    Note that special steps might be required to set up a save field. For more information, see Displaying Answers Within a SmartScript.

    Save User Parameters

    Specifies a field in a business component as a user parameter. The record that is set as active in that business component supplies the value. (Note that a Search Spec can set the record as active.) The result is that the field value from the active record is saved to the parameter.

    One common usage is to insert the answer to one question into the text of a subsequent question. An answer can be comprised of a field value or values picked from a business component. The field variable can then be inserted into the text of another question using the Auto Substitute Parameters field. The result is that the variable value is inserted into the question text.

    If any user property variables are entered in the Save User Parameter field, then the answer values or any field from any business component record or both can be saved to this variable. For example, you can select a particular record in the question (such as a contact) and then save that record's ZIP Code to the user parameter, even though the selected answer was the last name, not the ZIP Code.

    If the answer includes multiple values from a picklist, then each of the fields accepted from the selected record in the picklist can be saved to multiple user parameters by separating the properties by commas.

    Syntax: If you want to save the answer to a question to a user parameter, enter the name of the user parameter. It is also possible to save the value of a field in the current record, such as (User Parameter Name, [BC.FieldName].

    To save multiple fields, separate the user variables with a comma (,). For example, enter (User Parameter Name,[BC.field name]), (User Parameter Name2,[BC.field name]), (User Parameter Name3,[BC.field name])

    Save Currency Field

    The field in the business object or business component table that contains the currency setting.

    Pick Applet

    Indicates the pick applet that the end user uses to select and save the business component record data as the answer data. When the end user clicks a select button, the pick applet opens as a dialog box, or as a drop-down combo-box. The end user can save a row of data to the specified business component. The Save Field in the business component must have a mapping to the picklist.

    For more information, see Displaying Answers Within a SmartScript.

    Mvg Applet

    Indicates the multi-value group (MVG) applet to be used to save answer data to the specified business component when that data includes multi-value fields. The MVG applet must be mapped to the specified Save Field. For example, to save Project Team data, you might select the Project Team list applet. For more information, see Displaying Answers Within a SmartScript.

    Detail Applet

    Indicates the Detail applet that is used to save answer data of a specific configuration and format to the specified business component. The Detail applet must be mapped to the specified Save Field. For more information, see Displaying Answers Within a SmartScript.

    Save Answer Table

    Indicates whether the answer is to be saved to the generic answer table.

    Currency

    The currency code used to identify the saved currency data, if such data is saved.

    Replication Level

    Indicates different levels of replication for Siebel Remote: All, Regional, and None. The default state is All.

Siebel SmartScript Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.