Kentico 7 to Kentico 8 upgrade Issues

Justin Hugelen-Padin asked on January 29, 2015 20:29

Hello,

There are a couple Kentico 7 methods that I can't seem to find their equivalent in Kentico 8. The two being CMS.WebAnalytics.ActivityLogHelper.UpdateContactLastLogon() and CMS.WebAnalytics.ActivityLogProvider.LogLoginActivity(). Has anyone come across an equivalent to these methods?

thanks, Justin

Recent Answers


Brenden Kehren answered on January 29, 2015 20:50

According to the API changes, ActivityLogProvider is no longer supported and you should contact Support if you need to use it. I'd suggest throwing an email to them to see what the equivalents or replacements might be for both methods.

0 votesVote for this answer Mark as a Correct answer

David Komárek answered on February 22, 2015 15:26

Hi Justin,

Regarding the CMS.WebAnalytics.ActivityLogHelper.UpdateContactLastLogon method - this method is a handler, which is automatically fired once an activity is logged. It was made private in version 8. Is there any specific scenario when you need to call this method and you are not logging an activity at the same time?

As for the CMS.WebAnalytics.ActivityLogProvider.LogLoginActivity method - in version 8, you can use the CMS.WebAnalytics.ActivityLogProvider.LogActivity method instead and supply the parameter's (ActivityData) Type property filled with CMS.WebAnalytics.PredefinedActivityType.USER_LOGIN.

0 votesVote for this answer Mark as a Correct answer

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