getItem - Methods - Author API

Author API Methods


Gets the current Item JSON of the Item being edited.

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

Returns itemJson, the current Item JSON, or false if not editing an Item.


var itemJSON = authorApp.getItem();



Return value

Type object

  • features array[widgetObject]

    Array of Widget objects for Features in the Item.

  • item object

    The settings and contents of the Item.

  • questions array[widgetObject]

    Array of Widget objects for Questions in the Item.

Related articles

  • The setItemJson() method, which allows you to overwrite the current Item JSON.
Was this article helpful?

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