Plumtree PEIs  
 

IObjectActions.OnBeforeCopyAdminFolder Method 

This function will perform some functionality before an Admin Folder is copied.

string OnBeforeCopyAdminFolder(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   int _nCopiedFolderID,
   int _nTargetFolderID
);

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
_nCopiedFolderID
- ID of the folder being copied
_nTargetFolderID
- ID of the new folder

Return Value

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

See Also

IObjectActions Interface | com.plumtree.portalpages.pei Namespace