ActivityHelperDuplicateActivity Method |
Duplicates record in Activity table and all related tables if required. Keeps ActivityGUID same.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax public static ActivityInfo DuplicateActivity(
ActivityInfo ai,
ContactInfo contact
)
Parameters
- ai
- Type: CMS.OnlineMarketingActivityInfo
Duplicate this activity - contact
- Type: CMS.OnlineMarketingContactInfo
Optional. Contact which will be used for ActivityActiveContactID and ActivityOriginalContactID. If not specified then original values will remain
Return Value
Type:
ActivityInfoDuplicated activity
See Also