getItemTitle - Methods - Author API

Author API Methods

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

Type string

The title for the current Item.

Type boolean

Returns false if not in the Item editor view.

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.