clsImportKnowledgeBaseEntryLanguage Class |
Namespace: MARIInterface
The clsImportKnowledgeBaseEntryLanguage type exposes the following members.
| Name | Description | |
|---|---|---|
| clsImportKnowledgeBaseEntryLanguage | Initializes a new instance of the clsImportKnowledgeBaseEntryLanguage class |
| Name | Description | |
|---|---|---|
| Content |
Content: When the string starts with <!DOCTYPE HTML> a simplified html format will be accepted
| |
| Description | Description | |
| KnowledgeBaseID |
KnowledgeBaseID Mandatory field to link the additional language to the existing KB Entry.
| |
| KnowledgeBaseLanguageID |
KnowledgeBaseLanguageID: Internal number. Can be 0 for import. Will be created automatically
| |
| LanguageCode |
LanguageCode internal languate id linked to table MPSysKundenSprachen
| |
| Source |
Information Source: When the string starts with <!DOCTYPE HTML> a simplified html format will be accepted
| |
| Summary |
Summary: When the string starts with <!DOCTYPE HTML> a simplified html format will be accepted
|
| Name | Description | |
|---|---|---|
| bSaveRSToMDB | (Overrides clsImportBasebSaveRSToMDB(MPInterface, DataRow, DataTable).) |
public bool CreateSecondKnowledgeBaseEntryLanguage(int KnowledgeBaseEntryID) { clsImportKnowledgeBaseEntryLanguage oKBEntryLanguage = new clsImportKnowledgeBaseEntryLanguage(); oKBEntryLanguage.Description = "MS Office Installation Tipp DE"; oKBEntryLanguage.KnowledgeBaseID = KnowledgeBaseEntryID; // existing KB Entry oKBEntryLanguage.LanguageCode = 100001; // second language oKBEntryLanguage.Content = "Details in German"; oKBEntryLanguage.Source = "lorem ipsum"; oKBEntryLanguage.Summary = "lorem ipsum"; if (!oMPInterface.bImportKnowledgeBaseEntryLanguage(oKBEntryLanguage, clsImportBase.eImportMode.ValidateAndImport)) { // oTimeKeepingLine.oErrors contains all Errors throw new Exception(oMPInterface.oErrors.PrintErrors()); } else { return true; } }