Siebel Interactive Designer Administration Guide > Working with a Deployed Application > Calling Your Application from Another Siebel Application >

About Passing in Parameters When Invoking the ShowCDA Method


In Siebel Tools, when you create an applet, you can specify additional information be passed along to the ShowCDA method when a button is clicked, including:

When you pass these parameters into the applet's user properties, these parameters will apply to all buttons defined in that applet. If you want to give a button different parameters, you need to do so in a different applet.

Passing in Project, Pageset, and Dynamic Default Information

To pass project, pageset, and dynamic default information to the ShowCDA function through Siebel Tools, use the syntax in the following examples to create entries in the applet's user properties. This allows you to specify what pageset and dynamic defaults are displayed when a user clicks a button.

Example

This example assumes you want to create three Get Advice buttons that each have different projects, pagesets, and dynamic defaults.

To create three buttons that display different applets

  1. In Siebel Tools, create three buttons in the applets.
  2. For example:

    Name
    MethodInvoke
    Button1
    ShowCDA
    Button2
    ShowCDA1
    Button3
    ShowCDA2

  3. Create an applet user property for each method.
  4. Button 1

    Name
    Value
    Method|ShowCDA|Parameter 1
    QuoteId|Field|Id
    Method|ShowCDA|Parameter 2
    Projectlocation|Value|project1
    Method|ShowCDA|Parameter 3
    Pageset|Value|pageset1
    Method|ShowCDA|Parameter 4
    Dyndefs|Value|dyndefs1
    Method|ShowCDA|Parameter 5
    End

    Button 2

    Name
    Value
    Method|ShowCDA|Parameter 1
    QuoteId|Field|Id
    Method|ShowCDA|Parameter 2
    Projectlocation|Value|project2
    Method|ShowCDA|Parameter 3
    Pageset|Value|pageset2
    Method|ShowCDA|Parameter 4
    Dyndefs|Value|dyndefs2
    Method|ShowCDA|Parameter 5
    End

    Button 3

    Name
    Value
    Method|ShowCDA|Parameter 1
    QuoteId|Field|Id
    Method|ShowCDA|Parameter 2
    Projectlocation|Value|project3
    Method|ShowCDA|Parameter 3
    Pageset|Value|pageset3
    Method|ShowCDA|Parameter 4
    Dyndefs|Value|dyndefs3
    Method|ShowCDA|Parameter 5
    End

    In this example, project1, project2, and project3 are the values passed from eConfigurator. The syntax is:

    Method|ShowCDAxx|Parameter x = parameterName|ParameterType|ParameterValue

    ParameterType can be either Field or Value. If parameterType is Field, ParameterValue is the field name, and the parameter value will be pulled from that field in the business component.

About Passing in Values for Configuration Variables

While you can set variables in the application CFG file as explained in the File Reference chapter of Siebel Interactive Designer API Reference, you can also set and pass these values in Siebel Tools. This method allows you to customize the runtime behavior for each applet. For example, you can specify that one applet navigates to a product detail view named Product List view and that another applet navigates to a different view named Product Detail View - Feature View (eSales).

To pass CFG properties to the ShowCDA function through Siebel Tools, use the syntax in the following examples to create entries in the applet's user properties. Create buttons and entries in the applet's user properties just as you did in the previous example.

Example

Name
Value
Method|ShowCDA|Parameter 1
ISSCDAHeaderBusObjName|Value|Quote
Method|ShowCDA|Parameter 2
ISSCDAHeaderBusCompName|Value|Quote
Method|ShowCDA|Parameter 3
ISSCDAIntegrationObjName|Value|Quote
Method|ShowCDA|Parameter 4
End


 Siebel Interactive Designer Administration Guide 
 Published: 18 April 2003