Public Method Author API


Sets the reference of the Item being edited.

You would want to use this method so that you can set a common Item reference from your own database and the Learnosity Item bank, for example.


var itemReference = authorApp.setItemReference("my-new-item-reference");


  • itemReference string

    The Item reference used to identify the Item.

    Maximum length is 150 characters.

Return value

  • string

    Returns the new Item reference if successful.

  • boolean

    Returns false if unable to set the Item reference, for example, when not in the Item editor view, or the new reference is the same as the current reference.

Related articles

Was this article helpful?