JavaScript global method: setAppMessage

Defines the message returned in the "message" attribute in the soap response. For example, in the following soap response:

<CreateRelationshipResponse message="Here you define your message" returnCode=….>, where the message attribute is shown in italic.

Syntax

setAppMessage(message);

Arguments

The following arguments are valid for this function:

Argument Data type Required Description
message String Yes This argument contains the text string you want to show in the "message" attribute in the soap response. You must enclose literal text strings in quotation marks.

Return values

None

Throws

None

Description

This method defines the message returned in the "message" attribute in the soap response.

Example

inputValue = "CompanyA";
setAppMessage("The input value "+inputValue+" is invalid");