Siebel Interactive Designer API Reference > Pageset Functions >

BuildTarget


Usage

Use the BuildTarget function on a display page to create output target controls that display links, images, or text in response to a user selection.

You call the BuildTarget function in the <BODY> section of a display page. Also, all BuildTarget calls must be inside the <FORM> section of the HTML source of display pages. The function is usually called from within a JavaScript document.write method.

Syntax

BuildTarget(type,window,name[,arg1,arg2])

Argument
Description
type
Specifies the type of output target control to create. Valid control types are:
name
Defines the source of the content that populates the output target, which can be any of the following:
  • A column in a Configuration table. In this case, the argument is simply the name of the column.
  • A column in a Feature table. In this case, the argument is the name of the Feature table and the name of the specific column inside of it, separated by a period, as in COLOR.DESC.
  • The Feature table used to populate an input UI control from which the user has made a selection. In this case, the argument is simply the name of the Feature table.
  • The name of a text entry input UI control in which text is typed and stored. In this case, the argument is the name you used to define the text entry input UI control.
arg1, arg2
Some output target types take additional arguments.


 Siebel Interactive Designer API Reference 
 Published: 18 April 2003