Public Method Author API

getItemTitle()

Gets the current title of the Item being edited.

You would want to use this method so that you can present the human friendly version in your application, for example.

See Enabling and Configuring Item Titles in the Author API for more information on how to enable Item titles.

Examples

var itemTitle = authorApp.getItemTitle();
console.log(itemTitle);

Arguments

None.

Return value

  • string

    The title for the current Item.

  • boolean

    Returns false if not in the Item editor view.

Related articles

Was this article helpful?