Plumtree PEIs  
 

IMyPortalPageActions.OnBeforeRemoveMyPortalPage Method 

This function will perform some functionality when a user tries to remove a page from their available listing of pages.

string OnBeforeRemoveMyPortalPage(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   int _nPageID
);

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
_nPageID
- Page ID that the user is trying to remove.

Return Value

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

See Also

IMyPortalPageActions Interface | com.plumtree.portalpages.pei Namespace