|Number of votes:||0|
The other day the first task was to build a subscription page. The Alloy demo templates doesn’t contain an example so I needed a quick brushing up on the topic.
The conclusion is that subscriptions work in the same way as in older versions of EPiServer. Not an extremely well documented area but that might be the topic of another post.
So our subscription template needs a property named “EPSUBSCRIBE-ROOT”.
So now the problems begins. In C# we can’t use a hyphen (-) in class or property names. We have the same issue with the property “EPSUBSCRIBE-EXCLUDE” that is optional to include on pages that should not be sent out in the subscription job.
EPiServer has created a bug for this issue.
To get around this until EPiServer has released a fix we have to create the properties through admin mode.