API change from 8 to 9

David Pearson asked on January 12, 2017 16:00

The 8.2 site is using System.Boolean CMS.Newsletters.SubscriberNewsletterInfo.SubscriptionEnabled in some custom code.

The API change recommends using Service

Recent Answers


Trevor Fayas answered on January 12, 2017 16:18

I'm confused as to what the question is.... If you are upgrading from 8 to 9, use the API change tool here on the devnet to find the replacement

http://devnet.kentico.com/documentation/api-changes/kentico-9

0 votesVote for this answer Mark as a Correct answer

Anton Grekhovodov answered on January 12, 2017 18:59

Hi David,

SubscriptionEnabled property has been removed. You need to use Service<ISubscriptionService>.Entry().IsUnsubscribed method. See there about changes

1 votesVote for this answer Mark as a Correct answer

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