Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Have you tried to name the property "EPSUBSCRIBE" instead of "EPSubscribe"?
Question 1 :
Currently I am using CMS 5 EPiServer Manager 2.0.19.3).May I know what is the criteria for CanSubscribeTo return true? thisUser.SubscriptionInfo.CanSubscribeTo(PageReference.Parse(lstPages.SelectedValue))
Scenario: I have created few page types with property "EPSubscribe" set to true and try to subscribe user to that page using this line. thisUser.SubscriptionInfo.SubscribeTo(PageReference.Parse(lstPages.SelectedValue));
During checking after subscription, however this line always return false. thisUser.SubscriptionInfo.IsSubscribingTo(PageReference.Parse(lstPages.SelectedValue)); I use CanSubscribeTo() method to check and found that it also always return false for all my pages.
Question 2:
Which tables that store information on User subscription in the backend database? I would like to check if any records been inserted.
Question 3:
Any sample code for CMS 5 which shows how to do subscription and send alerts for news pages?