Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
You'll have to cast it to IVersionable first - (currentBlock as IVersionable).StopPublish
I cannot find any property for a block in code which corresponds to Expire Date property in CMS. As far as I can see, Episerver.Core.PageData has a property StopPublish, which, as far as I know, corresponds to expiration date in CMS. But Episerver.Core.BlockData has no such property.
Is it not possible to set the expiration date for a block?