Revision history:
Introduced in QPR 7.5.1
Creates a copy of an existing action.
Synopsis:
Actions.CreateCopy(ActionId, Parameters, out NewActionId)
Parameters:
ActionId: Integer. ID of the action that is going to be copied.
Parameters: Not supported yet. Use an empty string here.
out NewActionId: Variant for storing the ID of the new copied action.
Required Rights:
View rights to the original action and modify rights to QPR Portal.
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.CreateCopy(iSourceId, "", iTargetId)