Siebel Analytics Installation and Configuration Guide > Accessing Analytics Through Siebel Applications > Using Analytics-to-Siebel eBusiness Application Action Links >

About Action Links to Siebel Views Containing Single Quotation Marks


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>

The solution to this problem is to use the escape character (or backslash) in JavaScript to reference the single quotation mark. 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
 Published: 09 September 2004