Try our conversational search powered by Generative AI!

Trigger subscription on different property then "Mark page as changed"

Vote:
 

Is it possible to modify the Subscription job to check for a different property than "Mark page as changed" if it should add a page for the next subscripton mail?

 If yes a few pointers or a small example would be nice :)

 Br

 Per N

#21710
Jul 06, 2008 20:55
Vote:
 

It is not an easy fix...

The reason is that the method EPiServer.Personalization.SubscriptionJob.GetChangedPages is using a stored procedure to quickly identified changed pages.

You can study the code with Lutz Roeders's Reflector. Just load all assemblies in your EPiServer bin folder and search for the class SubscriptionJob.

One possible approach is to use on of the EventHandlers on DataFactory to catch the page before it is saved and add you own logic that updates the property "PageChanged" when your criteras is fullfilled.

/Fredrik

 

#21728
Jul 07, 2008 14:04
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.