Date: Fri, 29 Mar 2024 08:54:36 +0000 (UTC) Message-ID: <1743743786.15.1711702476642@e672b2590cbf> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_14_299839356.1711702476642" ------=_Part_14_299839356.1711702476642 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To test your custom form API implementation you need to be able to speci= fy the event that is being fired this class represents the related list add= or remove event data.
B25.Tes= t_FormHelper.TestRelatedListEvent changeEvent =3D new B25.Test_FormHelper.T= estRelatedListEvent(); changeEvent.relatedSObjectType =3D B25__ReservationContact__c.SObjectType; changeEvent.addedSObjectId =3D someContact.Id; changeEvent.changedRelatedListItem =3D new B25__ReservationContact__c( B25__Contact_Lookup__c =3D someContact.Id );
Name |
Type |
Description |
---|---|---|
relatedSObjectType |
SObjectType |
The sObjectType of the related list. |
addedSObjectId |
String |
The id of the dimension sObject that has been clicked on. If this option= was a custom option it should be set to that custom options Id. |
changedRelatedListItem |
SObject |
The deleted or added related list item. |