Public Method Author API

getItemReference()

Gets the current reference of the Item being edited.

You would want to use this method so that you can retrieve and store the Item reference in your own database, for example.

Examples

var itemReference = authorApp.getItemReference();
console.log(itemReference);

Arguments

None.

Return value

  • string

    The Item reference used to identify the Item.

  • boolean

    Returns false if not in the Item editor view.

Related articles

Was this article helpful?