OnAppInsertHyperlink Method

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.

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


HRESULT __stdcall CEventHandler::OnAppInsertHyperlink(BSTR urlName)
{
   m_pDocument->InsertHyperlink(urlName);
   return S_OK;
}
Parameters
bstrURLName - [in] Required BSTR, which specifies a hyperlink to an object store item.
Return
The OnAppInsertHyperlink event handler method should return an HRESULT value of S_OK when successful.