Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer Administration Guide > Referencing Other Siebel Data >
Runtime Interaction with the Server-Based eConfigurator
You can integrate your browser-based applications with the server-based eConfigurator. For example, you may want to use an eAdvisor application to gather data from users and present a solution, such as a recommended product, but for further customization provide a link to the server-based deployment of eConfigurator. For information on the difference between browser-based and server-based applications, see Siebel eConfigurator Deployment Methods.
Figure 31 shows a eAdvisor application that links to the server-based eConfigurator.
In this example, when a user clicks the Configuration button shown in Figure 32, the server-based eConfigurator opens to allow the user to further customize their minivan.
For more information about the functions referred to in the following procedure, refer to Siebel Interactive Designer API Reference.
To integrate with the server-based eConfigurator
- Model your Feature and Configuration table data to integrate with customizable products if you are using them.
For more information, see About Modeling for Customizable Products.
- Add a link, such as "Configure This Product," to your UI.
- Open the Pageset UI file and add an OnClick event to call one of the following functions:
- GotoSSConfigurator(optional productDescriptionString)
GotoSSConfigurator hands off a product to the Siebel server-based eConfigurator, replacing the browser-based view in the browser with the server-based eConfigurator view. If a string is specified, it is used to describe the customizable product, which is used to start up the eConfigurator. If a string is not displayed, the current model and state are used to build a customizable product.
If you are building a product description string, you will need to build customizable product strings in the data model using cell functions. Helper functions are provided to help create a string in the correct format. For more information, refer to ISS.BuldProductStr in the Siebel-Specific Functions chapter of Siebel Interactive Designer API Reference.
- GetPrice(optional product)
GetPrice shows the final price of the selected product for the current user in a popup window. This price is based on the pricing information you have set up in Siebel ePricer.
- ShowProductDetails(product)
ShowProductDetails opens the detail view for the currently selected product ID using the parameters defined in the Siebel configuration file to determine which Siebel view to open. ShowProductDetails can be called from any frame within the application and can be executed anywhere a JavaScript function can be used. For more information, refer to ShowProductDetails in the Siebel-Specific Functions chapter of Siebel Interactive Designer API Reference.
- GotoSSView(viewName)
GotoSSView switches the current browser-based view to the specified view name.
For other interactions, use SendSelectionInformationToServer and write your own business service method.
- Set the following parameters in the Siebel application CFG file to specify the product detail view the browser-based application will navigate to at runtime.
- ISSCDAProdDetBusCompName: defines the Business Component Name that a product detail view will use.
- ISSCDAProdDetBusObjName: defines the Business Object Name that a product detail view will use.
- ISSCDAProdDetViewName: defines the product detail view name.
Example
This section provides a procedure for creating an example of an up-sell from a cat with a leash to a dog in the server-based eConfigurator. In this example, the user can select a kind of cat and leash in a browser-based application. An up-sell link is provided "Get a dog instead!" When clicked, the dog is displayed in server-based eConfigurator.
For more information on the following steps, refer to Siebel Interactive Designer API Reference.
To create the cross-sell example
- Create a Feature table named LEASH.
- Enter the following data in the LEASH Feature table.
To enter data in the Desc column, map the column to one of two leashes in the Internal Product business component.
- Create a Feature table named PERSONALITY.
- Enter the following data in the PERSONALITY Feature table.
- In the MAIN Configuration table, enter the following data.
MAP ROOT_PROD to one of two cats in the Internal Product business component.
Map UPSELL_ROOT_PROD to one of two dogs in the Internal Product business component.
LEASH(1) PERSONALITY(1) ROOT_PROD(0) UPSELL_ROOT_PROD (0) (=*) IND CAT-TABBY DOG-PITBULL (=*) SUB CAT-BURMESE DOG-LAB- On the Output UI page, add the following link to the up-sell:
<a href="#" onclick = "ISS.GotoSSConfigurator(ISS.GetBusCompID(`UPSELL_ROOT_PROD'));
return false;">Get a dog instead!</a>- Create the following prodStr:
ISS.AddToCart(ISS.BuildProductStr(ISS.GetBusCompID("ROOT_PROD"), 1, null, ISS.BuildChildList(ISS.BuildProductStr("LEASH.DESC", 1, null, null, "RESTRAINT"));
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer Administration Guide Published: 18 April 2003 |