public RelationshipMeeting CreateMeeting( Lead lead )
Create Meeting for a lead.
Creates an object without saving to the database
Syntax
public RelationshipMeeting CreateMeeting( Lead lead )
Parameters
- lead
- Type: Lead
Lead, the meeting is created for. Object. Access path: PublicAPI.CRM.Lead
Return Value
Type: RelationshipMeetingMeeting
Examples
//load a lead by ID var lead = PublicAPI.CRM.Lead.Load(3); //create a meeting var myMeeting = PublicAPI.CRM.Relationship.CreateMeeting(lead); //myMeeting - created meeting for a lead //WARNING!! A meeting is created without a name. For correct work with the meeting, you should //specify its name and save the object to the database myMeeting.Theme = "Meeting Name"; myMeeting.Save();
See Also