Plumtree PEIs  
 

INetworkSearchActions.OnBeforeNetworkSearchProcess Method 

This function will allow for some validation to occur against the search string being used and the list of sources being searched against. Once these items have been reviewed, an Object array will be returned containing the modified search String and List. or null if no changes are needed.

NetworkSearchArguments OnBeforeNetworkSearchProcess(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   string _strSearchString,
   IXPList _lSourceIDs
);

Parameters

_asCurrentSpace
- Provides access to the current MVC classes as well as the Application and the HTTP Session
_ptUserSession
- Plumtree session object for the current user
_strSearchString
- String containing the search criteria
_lSourceIDs
- A IXPList object containing a list of valid Network Source IDs that were checked by the user.

Return Value

NetworkSearchArguments - Specific object that will allow the developer the ability to send both a modified String and modified List of sources.

See Also

INetworkSearchActions Interface | com.plumtree.portalpages.pei Namespace