Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

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-tridionhttps://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);

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);

You can use following script to get schema Title: taken from https://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);
Source Link
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);