addVariant()

Overview

public string function addVariant(
      required string variantOf
    , required string name     
)

Adds a new variant of a system template

Arguments

NameTypeRequiredDescription
variantOfstringYesThe ID of the template the variant is a child of
namestringYesThe name of the new variant