How to access contact activities information through API for anonymous users?

Harold Rodriguez asked on May 7, 2014 17:50

Hi guys,

How do I access contact activities info through the API for an anonymous user?

I currently have a form that an anonymous user is filling out, but I want to append some extra information to that form before is submitted, and that information is inside the activity log for that anonymous contact.

I can access activities for registered users (using their id) following this example:

But how do I access the same for the current anonymous user?


Correct Answer

Jan Vlasák answered on June 27, 2014 01:05

Hi Harold,

you can use OnlineMarketingContext.CurrentContact to get the anonymous contact.

2 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.