getServiceDeskKBArticles

getServiceDeskKBArticles

 

Syntax

getServiceDeskKBArticles(serviceDeskId, searchQuery)

Package

 

Alias

 

Pkg Usage

 

Description

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

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

serviceDeskId

number

Yes

The servicedesk id for which to search for articles.

searchQuery

String

Yes

The string used to filter the articles.

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

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.