refreshActivityEditItems - Methods - Author API

Author API Methods

refreshActivityEditItems()

Refreshes the list of Items in the Activity editor.

You would want to use this method so that you can update the displayed list of Items after making changes to the Activity.

Important This method can only be used when the Activity editor is active and the mode initialization option is set to "activity_edit".

Examples

const refreshed = authorApp.refreshActivityEditItems();

Arguments

None.

Return value

Type boolean

Before attempting to refresh the list, this method checks whether the current view is the Activity editor.

Returns true if the Items list was refreshed successfully.

Returns false if the current view is not the Activity editor or the refresh could not be completed.

Note The return value only indicates whether the refresh was successful.

Versioning

Version added: v2026.3.LTS (now live in developer)

Was this article helpful?

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