allowVariants()

Overview

public boolean function allowVariants(
      required string template
)

Returns a boolean defining whether a system template allows variants to be created

Arguments

NameTypeRequiredDescription
templatestringYesID of the template whose variant setting you wish to get