- This line was added.
- This line was removed.
- Formatting was changed.
Object that is used to specify the context for a search event.
To test your custom form API implementation you need to be able to specify the event that is being fired this class represents the Context for a search handler.
B25.Test_FormHelper.TestSearchContext changeEvent = new B25.Test_FormHelper.TestSearchContext(); formContextchangeEvent.toSearchSObjectType = Contact.SObjectType; formContextchangeEvent.toCreateSObjectType = B25__ReservationContact__c.SObjectType; formContextchangeEvent.searchTerm = 'conta'; formContextchangeEvent.fieldName = 'B25__Contact_Lookup__c';
The sObject type that the search should search through.
The sObject type of the sObject that would be created as a result of the search result being clicked.
The searchterm entered by the user
The fieldname of the field on the toCreateSObjectType that the result of this search would be filled in on.
On this page