Lifespan

Filter content by lifespan validity

In some cases we want to filter content by their lifespan information and creating content that will be valid or available only on a defined date in the future.

The lifespan filtering is turned off by default in sensenet, so if you want to get results depending on the lifespan validity status of content, you have to switch this filter on as it is made in the following example:

Copy
GET https://example.com/OData.svc/Root/Content/Cars?enablelifespanfilter=true
🛈 Special characters should be URL encoded
Â