Studio Developer Manual / Version 2310
Table Of ContentsCoreMedia Studio provides two ways to post-process newly created content. You can use the post-processing to initialize the content with default values or to trigger other actions.
Content Initializer
Content initializers are explained in detail in Section 9.5.7, “Client-side initialization of new content items”
Quick Create Success Handler
Quick create does support a "success" hook where methods are executed once the
content has been created successfully. You can register these methods for the class
QuickCreate
:
QuickCreate#addSuccessHandler(contentType: string, onSuccess: AnyFunction): void
Example 9.150. Quick Create Success Handler Registration