QPR Knowledge Base

RemoveParent

Hide Navigation Pane

RemoveParent

Previous topic Next topic No expanding text in this topic  

RemoveParent

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.5.1

 

Removes a parent action from the parent list of an action.

 

Synopsis:

 

Actions.RemoveParent(ActionId, ParentActionId)

 

Parameters:

 

ActionId: Integer. ID of the action from which the parent action is to be removed.

ParentActionId: Integer. ID of the parent action that will be removed from the parent list.

 

Required Rights:

 

Modify rights to the action defined in ActionId.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_SUCCESS

RV_UNKNOWN_ERROR

RV_ASSOCIATION_NOT_FOUND

RV_ACCESS_DENIED

RV_APPLICATION_QUIT_CALLED

RV_NOT_CONNECTED_TO_SERVER

RV_NOT_AUTHENTICATED

 

Example Procedure:

 

iRet = SCApplication.Actions.AddParent(1234, iDiscussionForumId)

 

Comments (...)