Skip to main content
1 of 2
Raj Kumar
  • 5.9k
  • 2
  • 15
  • 32

You can use following script to get schema Title: taken from http://stackoverflow.com/questions/11257535/how-to-get-the-schema-name-from-the-schema-object-in-tridion

var schemaObject = $models.getItem("tcm:8-32597").getSchema();
var schemaTitle;
function loaded()
{
    schemaTitle = schemaObject.getTitle();
}
$evt.addEventHandler(schemaObject, "load", loaded);
schemaObject.load(true);
Raj Kumar
  • 5.9k
  • 2
  • 15
  • 32