Siebel Analytics Installation and Configuration Guide > Integrating Analytics Dashboards and Operational Applications Data >

Configuring Action Links Containing Single Quotation Marks


This task is part of Configuring Analytics Action Links.

Action links refer to views with simple names, such as All Account List View, which are easily referenced in the parameters for the NQSWENav command used to enable the link. For example, the action link to drill from an Account Record in Siebel Analytics to the All Account List View looks like this:

<a href=\"javascript:NQSWENav('All Account List View','Account List Applet','"@"'); \">"@" </a>

This example works when a view name does not contain any single quotation marks. However, many important Siebel views do contain quotation marks in their names. Simply pasting the view name with the quotation mark results in an error because the Siebel Web Engine cannot interpret the NQSWENav command:

<a href=\"javascript:NQSWENav('Manager's Account List View','Account List Applet','"@"'); \">"@" </a>

To prevent this problem, use the escape character (or backslash) to reference the single quotation mark in JavaScript. For any single quotation mark, insert two back slashes before the quote, and the Siebel Web Engine is able to process the request correctly. For example:

<a href=\"javascript:NQSWENav('Manager\\'s Account List View','Account List Applet','"@"');\">"@" </a>

Siebel Analytics Installation and Configuration Guide