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:

n LINK: see Link Output Targets.
n TEXT: see Text Output Targets.
n NB_LINK: see N-Back Link Target.
n NB_RETURN: see N-Back Return Target.

name

Defines the source of the content that populates the output target, which can be any of the following:

n A column in a Configuration table. In this case, the argument is simply the name of the column.
n 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.
n 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.
n 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.

For syntax, see Content Sources for Output Targets.

arg1, arg2

Some output target types take additional arguments.

Siebel Interactive Designer API Reference