getStatus - Methods - Author API

Author API Methods


Gets the current status of the Item being edited.

You would want to use this method so that you can show the Item status in your custom authoring UI, for example.


var itemStatus = authorApp.getStatus();



Return value

Type string

Returns the status of the current Item which can be either:

  • "published",
  • "unpublished", or
  • "archived".

Type boolean

Returns false if not in the Item editor view.

Related articles

  • The setStatus() method, which allows you to set the Activity status.
Was this article helpful?

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