activityduplicate.success - Events - Author API

Author API Events


Fires after an Activity has been successfully duplicated.

You would want to be notified about this event firing, because you might want to display a custom message to the content creator to inform them of the successful duplication, for example.

This event fires after the save:activity:success event, in the case of a shallow copy of an Activity which has succeeded.

The save:activity:success event will not be fired in the case of a deep copy of an Activity which has succeeded.


authorApp.on('activityduplicate:success', function () {
    console.log('This code executes when the Activity has been successfully duplicated.');

Related articles

Was this article helpful?

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