$setBranchCategory

Sets the branch category name of the specified branch.
Syntax
    $setBranchCategory{category_name}{branchID}
DocumentationSets the branch category name of the specified branch:

    Parameters:
      category_name, the name of the category to be set as the default category of the specified branch.
      branchID, a optional parameter to specify a branch other than the current, defaults to the id of the current branch.
Examples
    $setBranchCategory {Default1}

    Result:
    sets the current branch to the default category "Default1", templates from the
    "Default1" catalog/category will be executed
GroupCode
Minimum required transaction-mode:UPDATE=TREE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 2