attachQuestionTemplateToCatalogItem

Use the AttachQuestionTemplateToCatalogItem command to attach a question template to a catalog item.

Parameters

The AttachQuestionTemplateToCatalogItem command includes the following parameters:

attachQuestionTemplateToCatalogItem Parameters

#

Parameter

Data Type

Description

1.  

Title

String

Name of the catalog item

2.  

QuestionTemplateName

String

Name of the question template.

Return Value

Returns one of the following values:

Returns a 1 when attaching a question template.
Returns a 0 if there was no template attached.
Returns a -1 when encountering an exception.