XmlFilterObjectPreviewDate Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Sets or gets a value that specifies a point in time to filter.

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public DateTime PreviewDate { get; set; }

Property Value

Type: DateTime
The default value is MinValue which tells Content Studio to use the current date. If IgnorePublishStatus is set this property is ignored.

With this value it is possible to take the publish and/or archive date functionality into consideration. If this property has the default value, only documents that currently are published are returned. When a publish date is specified it is possible to simulate what documents would be returned at another point in time e.g. tomorrow.
See Also