Siebel Analytics Installation and Configuration Guide > Customizing a Siebel Analytics Application >

About Action Links to Siebel Views Containing Single Quotation Marks


Siebel Analytics applications contain prebuilt Action Links in reports and dashboards. Action Links are a way to navigate from a user's Analytic dashboard to a record in a Siebel operational application, such as Siebel Call Center. For example, you can drill down directly from a Siebel Sales Analytics dashboard to a specific record in a Siebel Sales view. The link is based on the row-ID column contained in a report. You can also create new Action Links for any existing report.

All of the existing examples of Action Link implementation refer to views with simple names, such as All Account List View, which are easily referenced in the parameters for the NQSWENav 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. Simply pasting the view name with the quotation mark will result 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 will be able to process the request correctly:

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


 Siebel Analytics Installation and Configuration Guide, Version 7.7, Rev. A 
 Published: 11 March 2004