Try our conversational search powered by Generative AI!

Per Nergård
Apr 26, 2013
  2958
(0 votes)

CMS 7 Subscriptions “bug”

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.

Apr 26, 2013

Comments

Arild Henrichsen
Arild Henrichsen Nov 8, 2013 03:05 PM

Note this is also a problem in CMS 6 when using PageTypeBuilder. The latest official release of PTB (2.0) does not support hyphenated property names such as EPSUBSCRIBE-ROOT, although several developers have requested, and proposed, a workaround. See http://pagetypebuilder.codeplex.com/workitem/6913 for issue report and http://pagetypebuilder.codeplex.com/sourcecontrol/list/patches for a proposed patch. (Disclaimer: untested)

You can download the PTB source code from http://pagetypebuilder.codeplex.com/releases/view/79210 and add the necessary modifications.

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog