Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

[Question]StopPublish is readonly?

$
0
0

I'm fairly new to EpiServer so maybe this question has been answered before. I couldnt find any easily but here goes;

When my page is saved, I check certain fields and when a field is set, the page should be archived. I want to set StopPublishto a date in the past but when I excute the code in the page I get a validator error; 

  • The property PageStopPublish is read-only.

I don't get this, why was the property settable in C# in the first place? I don't have any custom validators regarding StopPublish


Viewing all articles
Browse latest Browse all 9076

Trending Articles