Question 1 :
Currently I am using CMS 5 EPiServer Manager 220.127.116.11).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.
Which tables that store information on User subscription in the backend database? I would like to check if any records been inserted.
Any sample code for CMS 5 which shows how to do subscription and send alerts for news pages?
Have you tried to name the property "EPSUBSCRIBE" instead of "EPSubscribe"?
HI Daniel, I am using "EPSUBSCRIBE" and it is not working too. Thanks.