attachQuestionTemplateToCatalogItem
Use the AttachQuestionTemplateToCatalogItem command to attach a question template to a catalog item.
Parameters
The AttachQuestionTemplateToCatalogItem command includes the following parameters:
| # | Parameter | Data Type | Description |
|---|---|---|---|
| Title | String | Name of the catalog item | |
| 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.