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
$container string , the container to use, or "" to use selected
$template string , template to assign, or "" to use the existing template
$autoBind int , whether to autobind after template is assigned.
$doStandins int , 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);