GetEnv

Mon 01 January 2018

Syntax

GetEnv(env_var)

Description

Use the GetEnv function to return the value of an environment variable specified by env_var as a string. If the environment variable does not exist, GetEnv it returns a null string.

For example, you can use the GetEnv function to determine the actual path of PS_HOME ...

read more

GetField

Mon 01 January 2018

Syntax

GetField([recname.fieldname])

Description

Use the GetField function to create a reference to a field object for the current context; that is, from the row containing the currently executing program.

If you do not specify recname.fieldname , the current field executing the PeopleCode is returned.

Note: For PeopleCode programs ...

read more

GetFile

Mon 01 January 2018

Syntax

GetFile(filename, mode [, charset] [, pathtype])

Description

Use the GetFile function to instantiate a new file object from the File class, associate it with an external file, and open the file so you can use File class methods to read from or write to it.

Any file opened for writing ...

read more

GetGanttChart

Mon 01 January 2018

Syntax

GetGanttChart(RecordName.FieldName)

Description

Use the GetGanttChart function to get a reference to a Gantt object.

A chart must be associated with a record and field merely so that the chart object can be instantiated in PeopleCode. Which record and field you use doesn't matter. Commonly, the same ...

read more

GetGaugeThreshold

Mon 01 January 2018

Syntax

GetGaugeThreshold()

Description

Use the GetGaugeThreshold function to get a reference to a GaugeThreshold object. GaugeThreshold objects can then be associated with a RatingGaugeChart object.

Parameters

None.

Returns

A reference to a GaugeThreshold object.

read more

GetGrid

Mon 01 January 2018

Syntax

GetGrid(Page.page_name, grid_name, [L1_row_num])

Description

Use the GetGrid function to instantiate an object of the Grid class and populate it with the grid specified by grid_name . For grids at level 2, specify the optional L1_row_num parameter. The grid_name corresponds to the Page Field Name on the General tab ...

read more

GetHTMLText

Mon 01 January 2018

Syntax

GetHTMLText(HTML.textname [, paramlist])

Where paramlist is an arbitrary-length list of values of undetermined (Any) data type in the form:

inval1 [, inval2] ...

Description

Use the GetHTMLText function to retrieve a predefined HTML text from an HTML definition in the user's current language, or the base language if no ...

read more

GetImageExtents

Mon 01 January 2018

Syntax

GetImageExtents(IMAGE.ImageName)

Description

Use the GetImageExtents function to return the width and height of the image specified by ImageName .

Parameters

Field or Control

Definition

ImageName

Specify the name of the image on the page. This image must exist on the page.

Returns

An array of data type number ...

read more

GetInterlink

Mon 01 January 2018

Syntax

GetInterlink(Interlink.name)

Description

Use the GetInterlink function to instantiate a Business Interlink definition object based on a Business Interlink definition created in Application Designer. The Business Interlink object can provide a gateway for PeopleSoft applications to the services of any external system.

Note: Business Interlinks is a deprecated ...

read more

GetJavaClass

Mon 01 January 2018

Syntax

GetJavaClass(ClassName)

Description

Use the GetJavaClass function to access a Java class so that you can manipulate it in PeopleCode. This is used for those classes that have static members, where it isn't appropriate to instantiate an object of the class. You can call only static methods, that ...

read more