Thank you for getting in touch with us.
Following are answers to your questions:
1. Is there a way to archive/expire at a certain date generic content modules?
We provide such functionality out-of-the-box only for the News module. When a News item expires, it is send automatically to the archive. The
data is stored in database tables.In order to do that for the Generic Content module you need to make some customizations. You could add a custom property in the form of a meta field (see the topic
in the online version of the Developer Manual). For the purpose, create a custom control that overrides the Content View control, and inside it implement the filter that will sort out the content by date.
Please see the following topics in the Developer Manual that might help you in the development process:
Also, the following KB article should be useful to you: Content View Control
2. Is there a to view all news items that have expired?
This functionality is provided by the Archive
control which is placed in the toolbox, in the Generic Content
group. Open the Properties
of the control, add News
to the ProviderName
property in the Data
section. Click I'm Done
. Once you place the control on a page, you can browse the expired News content.
3. Does the search return expired items?
The search returns expired items only in case the Index
is created before they have expired.
Hope that the provided information is helpful. Please do not hesitate to contact us in case you have any additional questions.
the Telerik team