B25.FormRecord

Overview

Represents a record on the form. Contains a reference to the actual SObject.

You can get a reference to the active record (the one currently being viewed/edited) by calling getActiveRecord() on a B25.Form instance.

Example

global with sharing class ExampleHandler extends B25.FormEventHandler { global override void handleEvent(B25.FormEvent event, B25.Form form) { // set the title of the current record form.getActiveRecord().put(B25__Reservation__c.B25__Title__c, 'Hello World'); } }

Methods

getSObjectClone()