Plumtree PEIs  
 

IDirectoryActions.OnBeforeCreateDirectoryFolder Method 

This function will perform some functionality before the creation process of a Directory Folder.

string OnBeforeCreateDirectoryFolder(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   string _strFolderName,
   string _strFolderDescription
);

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
_strFolderName
- Name of the folder being created
_strFolderDescription
- Description of the folder being created

Return Value

String - Error message if the creation should not continue, empty string or null if it should.

See Also

IDirectoryActions Interface | com.plumtree.portalpages.pei Namespace