Siebel Analytics User Guide > Working with Siebel Analytics Views in Siebel Answers >

Adding Narrative Text to Results Using Siebel Analytics Narrative View


Use the narrative view to add one or more paragraphs of text to appear with the results. Narrative text is useful for providing information such as context, explanatory text, or extended descriptions. You can type a sentence with placeholders for each column in the results and specify how rows should be separated.

NOTE:  To include a line break, enter the appropriate row separator tag. Pressing Enter does not result in multiple lines of text.

In the narrative view, the following characters are reserved characters:

@     (at sign, unless used as a column placeholder)

[     (left bracket)

]     (right bracket)

'     (single quote)

\     (back slash)

NOTE:  If you want to include a reserved character, precede it with a backward slash character (\) to escape it. For example, to include a backward slash character in narrative text, type \\.

To add or modify a Siebel Analytics narrative view

  1. In Siebel Answers, create or modify the request with which you want to work, and then perform one of the following actions:
    • To add a new narrative view, click the Results tab and choose Other Views > Narrative from the views drop-down list.
    • To edit an narrative view, click the Results tab, choose Compound Layout from the views drop-down list, and then click the Edit View button for the narrative view.

      The workspace shows the options and settings for the view.

  2. Make your selections for the fields in the workspace.

    The following table describes the fields.

    Narrative View Workspace Field
    Comments

    Prefix

    Specifies the header for the narrative. This text appears at the beginning of the narrative.

    Narrative

    Indicates the narrative text that will appear for each row in the results. Use @n to include the results from the designated column in the narrative. For example, @1 inserts the results from the first column in the narrative, and @3 inserts the results of the third column.

    Row Separator

    Specifies a row separator tag. To use a separator other than the default for the format, clear the following check box:

    Use default row separator

    Then, you can enter the desired row separator in the Row Separator text box.

    Postfix

    Specifies the footer text that appear at the bottom of the narrative.

    NOTE:  To display the footer information on a separate line from the actual narrative text, include markup tags in the postfix text box. Make sure that the narrative ends in a row separator, or that the footer begins with a row separator.

  3. When you are done, you can save the request with the narrative view.
Narrative View Example

A user creates a request that returns the region name in the second column as part of the result set. The user wants the narrative view to appear as shown in the following example, with introductory text and each region listed on a new line:

This report shows your sales by region. The regions are:

East Region
West Region

The following table lists and describes the user's narrative view entries:

Field
Entry
Explanation

Prefix

<b>This report shows your sales by region. The regions are:</b><br><br>

Prefixes the narrative with the following text:

This report shows your sales by region. The regions are:

The text is formatted to appear in bold type and is followed by two line breaks.

Narrative

@2

Includes the results from the second column (the region name) in the narrative text.

Row Separator

<br>

Starts each row of the narrative text on a new line.

Related Topics

Overview of Siebel Answers

Performing Common Tasks When Working with Siebel Analytics Views

Siebel Analytics User Guide