// Get predefined text service PredefinedTextsService textService; companyService = company.GetCompanyService(); textService = (PredefinedTextsService)companyService.GetBusinessService(ServiceTypes.PredefinedTextsService);
// Add predefined text PredefinedText text = textService.GetDataInterface(PredefinedTextsServiceDataInterfaces.ptsPredefinedText) As PredefinedText; text.TextCode = "Thank you"; text.Text = "Thank you for using our products."; textService.AddPredefinedText(text);