NAME
Kernel::WebApp::Controller::API::Agent::KnowledgeBaseArticle::Role::ProvidesCreateUpdate – Role for create / update knowledge base article to validate the data.
DynamicFieldSet()
Sets dynamic fields for knowledge base articles.
my $True = $Self->DynamicFieldSet(
DynamicFields => {
FieldName1 => 'Value1',
FieldName2 => 'Value2',
},
ArticleID => 123,
);
AttachmentsAdd()
Add all upload an attachments to a knowledge base article.
my $True = $Self->AttachmentsAdd(
ArticleID => 123,
FormID => 5,
Field1 => 'Content for Field1',
Field2 => 'Content for Field2',
Field3 => 'Content for Field3',
Field4 => 'Content for Field4',
Field5 => 'Content for Field5',
Field6 => 'Content for Field6',
);