API Reference

This article provides the full reference of every method and object available to you as part of the custom form logic feature. For other articles on this topic, see:

 

B25.FormEventHandler

Extend this class to create your own handlers that react to events on the form.

B25.FormEvent

Represent an event, triggered by the user interacting with the form.

B25.Form

This class lets you inspect the current form state as well as perform actions on it, such as adding handlers or updating values.

B25.FormButton

Represents a button on the form.

B25.FormField

This class represents a field on the form. This can be either a field on the main form, or on a related list.

B25.Lookup

Extension of B25.FormField, that represents a lookup on the form. Supports adding a search handler to generate custom results.

B25.RelatedList

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

B25.RelatedListItem

This class represents one of the entries in a related list.

B25.SearchResult

This class represents one result shown to the user when they search in a lookup or a list.

B25.SearchContext

This class represents a search being performed by the user. It allows you to get more information about the context of the search, as well as narrowing down the search results with additional conditions.

B25.SearchHandler

Extend this class to create your own handlers that react to searches on the form, allowing you to customize the results.

B25.SearchResultCollection

Use this class to bundle together multiple instances of B25.SearchResult.

B25.Test_FormHelper.TestFormContext

Object that is used to specify the form context inside of unit tests.

B25.Test_FormHelper.TestChangeEvent

Object that is used to specify the field change event inside of unit tests.

B25.Test_FormHelper.TestRelatedListEvent

Object that is used to specify the related list sObject change event inside of unit tests.

B25.Test_FormHelper.TestSearchContext

Object that is used to specify the context for a search event.