editActivity - Methods - Author API

Author API Methods

editActivity()

Navigates to the Activity editor and loads the specified Activity.

You would want to use this method so that you can build a custom Activity edit button in your own application, for example.

Examples

authorApp.editActivity('My Activity reference to edit');

Arguments

  • activityReference string

    The Activity reference used to identify the Activity.

    It must match the reference of an existing Activity in the Item bank; otherwise the operation will fail with an error.

    Maximum length is 150 characters.

Return value

None (undefined).

Related articles

Was this article helpful?

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