OnAppSaveModifiedActiveDocument Method

The client application is responsible for implementing an OnAppSaveModifiedActiveDocument event handler for some of the supported FileNet Application Integration commands. This event handler method should save the currently active, modified document.

Example
The following fragment is taken from the Add-In Sample Application.


HRESULT __stdcall CEventHandler::OnAppSaveModifiedActiveDocument()
{
   // Save the current document.
   m_pDocument->SaveDocument();
   return S_OK;
}
Parameters
None.
Return
The OnAppSaveModifiedActiveDocument event handler method should return an HRESULT value of S_OK when successful.
See Also
OnAppExistsActiveDocument Method
OnAppIsActiveDocumentModified Method
OnAppIsActiveDocumentNew Method