Plumtree PEIs  
 

INewEditObjectActions.OnEditObject Method 

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

string OnEditObject(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   int _nClassID,
   int _nObjectID
);

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
_nClassID
- Class ID of the object that is being edited.
_nObjectID
- Object ID of the object that is being edited.

Return Value

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

See Also

INewEditObjectActions Interface | com.plumtree.portaluiinfrastructure.pei Namespace