ICFormTemplateAttachment (Discontinued)

🚧

Note

Please note that we have announced end of sale for Cordova SDK. It is no longer offered as a standard Webex Connect capability.

This class represents Form template attachment

setTitle

This method sets the form template attachment title

Parameters:

ParameterTypeDescription
titleStringform template attachment title

getTitle

This method returns the form template attachment title.

Return Value: Returns String the form template attachment title.

setFields

This method sets an array of form field data


Parameters: 

ParameterTypeDescription
fieldsarrayAn array of form field data

getFields

This method returns the array of form field data.

Return Value: Returns array of form field data.

toJSON

This method returns a new JSONObject instance containing form template attachment data.

Return Value: Returns JSONObject representation of the form template attachment data.

fromJSON

Instantiates a new ICFormTemplateAttachment instance from the supplied JSONObject.

Parameters:

ParameterTypeDescription
jsonObjectJSONObjectA valid JSONObject instance containing form template attachment data.

Return Value: Returns A new ICFormTemplateAttachment or null if jsonObject is null.