Skip to content

AddResponseAttachment - cBaseLocalControlHost

Adds an attachment to the response

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
hoJsonObject Handle cJsonObject handle representing the attachment

Syntax

Function AddResponseAttachment Handle hoJsonObject Returns Integer

Call Example

Get AddResponseAttachment hoJsonObject to IntegerVariable

Description

Adds an attachment to the response and returns the integer id of the attachment.

Return Value

The attachment index (1 based)