Go to: Synopsis. Return value. MEL examples.

Synopsis

containerAssignTemplate

This script assigns a template to the specified container and performs the related operations such as auto-bind and publishing attributes.

Return value

None

Arguments

Variable Name Variable Type Description
$containerstring, the container to use, or "" to use selected
$templatestring, template to assign, or "" to use the existing template
$autoBindint, whether to autobind after template is assigned.
$doStandinsint, whether to create dynamic attributes as stand-ins for unbound template attributes

MEL examples

	// assign the specified template to dogContainer, and auto-bind

	containerAssignTemplate(mimiContainer, "poodle", 1, 0);