getItemReference - Methods - Author API

Author API Methods

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

Type string

The Item reference used to identify the 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.