November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
One interesting point to add. If the job has created the page with all SyncOptions checked from start. When these are changed from the ui to only have a few of them and then updated from the job it falls back to having all checked again.
So it seems to fall back to whatever value it was created with from the beginning even if it has been changed from the UI.
I have implemented a custom property like the multilanguage example in this article: http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2012/9/EPiServer-7-Configuring-editors-for-your-properties/. I have however ran into something weird when working with this from codebehind and updating an existing page.
I'm using this concept to be able to control what information is to be synced to a page from a scheduled job like this
This code checks if the page exists and if it does it reads from the page which values is to be synced (SyncOptions) and then saves the pages. However I can see the correct value of the SyncOptions is set just before the Save method but after the value is empty. I can successfully set the SyncOption value from the UI but when working with it from code the value restes on save.
The code for the prooperty looks like this:
Has someone encountered this before or see if there is something wrong with the property setup?