Public Method Author API

setItemTitle()

Sets the title of the Item being edited.

You would want to use this method so that you programatically set the Item title, for example.

Examples

var hasUpdatedTitle = authorApp.setItemTitle("My Item title");
console.log(hasUpdatedTitle);

Arguments

  • title string
    The title for the Item.

Return value

boolean

Returns true if successful.

Returns false if unable to set the Item title, for example, when not in the Item editor view or the passed value is not valid.

Related articles

Was this article helpful?