Plumtree PEIs  
 

INewEditObjectActions.OnCreateObject Method 

This function will perform some functionality just as we launch an Editor to create a new PTObject. The function will return a String containing an error message if this should not occur.

string OnCreateObject(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   int _nFolderID,
   int _nClassID
);

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
_nFolderID
- Admin Folder ID of where the object will be created.
_nClassID
- Class ID of the object that is being created.

Return Value

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

See Also

INewEditObjectActions Interface | com.plumtree.portaluiinfrastructure.pei Namespace