The client application is responsible for implementing an OnAppSaveNewActiveDocument event handler for some of the supported FileNet Application Integration commands. This event handler method should save the currently active, new document.
HRESULT __stdcall CEventHandler::OnAppSaveNewActiveDocument()
{
// New document is not supported yet.
return S_OK;
}