getServiceDeskKBArticles

Description

This function returns an array of JSMKBArticle structures for the provided serviceDeskId and search query.

Parameters

Return Type

JSMKBArticle[]

Returns an array of JSMKBArticle for the provided parameters.

Example

The following script will return an array of JSMKBArticle structures for the serviceDesk with id '1' and the provided query 'How'.

JSMKBArticle[] articles = getServiceDeskKBArticles(1, "How"); return articles;

See also

Peacock