Community
Showing results for 
Search instead for 
Do you mean 
Reply

Updating the TBL_CONTACT.LASTEMAILDATE

New Member
Posts: 10
Country: USA

Updating the TBL_CONTACT.LASTEMAILDATE

How can I programatically update the TBL_CONTACT.LASTEMAILDATE? I have a custom mail merge plugin and need to update this field.

 

Thanks

Chuck

 

Copper Contributor
Posts: 42
Country: Germany

Re: Updating the TBL_CONTACT.LASTEMAILDATE

Assuming you want to update this field for your current contact:

Act.UI.ActApplication.Instance.ApplicationState.CurrentContact.Fields["TBL_CONTACT.LASTEMAILDATE", Act.Framework.MutableEntities.FieldNameType.Real]=System.DateTime.Now;