Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Create New Event with Attendee List
I'm trying to add a new event that includes an attendee list but I cannot get the syntax correct. If anyone has some sample code in either VB or c# I would really appreciate it.
Dim nsAttendeeList As New CalendarEventAttendeeList
Dim nsAttendee As New CalendarEventAttendee
nsAttendee.attendee = recEmployee
nsAttendee.sendEmail = False
nsAttendee.sendEmailSpecified = True
nsAttendee.attendance = CalendarEventAttendeeAttendance._required
nsAttendee.attendanceSpecified = True
nsAttendee.attendee.name = dstData.DataSets(intCounter).Fields("strRCNam").FieldValue
nsAttendee.attendee.type = RecordType.employee
nsAttendee.attendee.typeSpecified = True
nsAttendee.attendee.internalId = recEmployee.internalId
'********** This line is incorrect. I need to attach the nsAttendee to the
'********** attendeelist but I have no idea how to.