The client application is responsible for implementing an OnAppInsertHyperlink event handler for some of the supported FileNet Application Integration commands. This event handler method should insert a specified hyperlink to an object store item into the currently active document.
HRESULT __stdcall CEventHandler::OnAppInsertHyperlink(BSTR urlName)
{
m_pDocument->InsertHyperlink(urlName);
return S_OK;
}