Public Method Author API


Set the status of the Item being edited.

You would want to use this method so that you can set the Item status with custom elements in your application, for example.


var updatedStatus = authorApp.setStatus("published");


  • status string

    The Item status.

    Possible values:
    • "published"
    • "unpublished"
    • "archived"

Return value

  • string

    Returns the new Item status if successful.

  • boolean

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

Related articles

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