on 09-08-2015 3:17 PM
Hello, I've been trying to figure out a way to get lifetime (content expiration) to work in WPC NW 7.3. When I click on details in any of the WPC templates there is no option to select lifetime. If anyone has figured this out can you please post how you were able to get this working. Thanks!
Thanks for your quick response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andjelka,
You cannot configure lifetime for a content in WPC.
However, by performing some customizations/configurations, it can definitely be controlled.
Basic example:
1. Create a custom form, add a property valid until in the properties of the form as:
<property id="validuntil" description="xml.clbl.validuntil" type="dateinput" isrequired="true"/>
2. Create a corresponding custom XSL for the form, in which you read the value of valid until property, and if the value is less than the current date, then you don't display the content.
In this way you can have a psuedo-lifetime (content is there on the page, just not displayed).
Do let me know in case you need any further details.
Best Regards,
Rohit Singhal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andjelka,
It is not possible to configure lifetime for WPC content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.