Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

addFeedbackForRequest(requestId_or_Key, rating [,comment])

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Add feedback to the provided requestId_or_Key.

Add feedback to the provided requestId_or_Key

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

requestId_or_Key

String

Yes

The key or id of the selected request.

rating

number

Yes

Rating must be between 1 and 5.

comment

String

No

Comment for the rating.

Return Type

JSMFeedback

Example

Code Block
languagejs
JSMFeedback feedback = addFeedbackForRequest("SM-1","5","Thanks for help.");
 return feedback;}

Adds the feedback and returns the feedback structure if the feed was added successfully

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines