Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

A related list represents a list of records present on a form.

Like a form, a related list has getters to access lower level elements such as the fields that exist on the related list.

Like a lookup, a related list supports search handlers being added to it.

Methods

getField

B25.FormField getField(SObjectField fieldToken)

This method will return a Field object for the specified SObjectField. The SObjectField must be an existing reservation field.

Return value:B25.FormField

Parameters:

Name

Type

Description

fieldToken

SObjectField

The field

getLookup

B25.Lookup getLookup(SObjectField fieldToken)

Similar to getField, but instead this method will return a Lookup object for the specified SObjectField. The SObjectField must be an existing lookup field on reservation.

Parameters: SObjectField

Return value:B25.Lookup

getField

B25.FormField getField(SObjectField fieldToken)

Description. Describe what the method does, what it expects, and what it outputs. Describe any cases in which the method might not work as expected. Describe any exceptions that this method is likely to throw.

Return value: ReturnType (link to relevant doc)

Parameters:

Name

Type

Description

param1

ParameterType (link to relevant doc)

The first parameter.

param2

ParameterType (link to relevant doc)

The second parameter.

methodTwo

ReturnType methodTwo(ParameterType param1, ParameterType param2)

Description. Describe what the method does, what it expects, and what it outputs. Describe any cases in which the method might not work as expected. Describe any exceptions that this method is likely to throw.

Return value: ReturnType (link to relevant doc)

Parameters:

Name

Type

Description

param1

ParameterType (link to relevant doc)

The first parameter.

param2

ParameterType (link to relevant doc)

The second parameter.

On this page

  • No labels