Skip to main content

attachQuestionTemplateToCatalogItem

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

Parameters

The AttachQuestionTemplateToCatalogItem command includes the following parameters:

#ParameterData TypeDescription
TitleStringName of the catalog item
QuestionTemplateNameStringName 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.