on 10-11-2006 1:57 PM
Hi Portal-People!
I have made several layoutsets where I want to display when articles were last edited. I therefore added the "cm_modified" property, and this works great. But now a need for a layoutset <i>with</i> time and date (cm_modified uses the type timestamp), <i>and</i> one layoutset with <i>only</i> date has emerged.
I have tried to make a predefined property myself with the date-type, but I seem to be doing something wrong. It turns out empty. Should I somewhere set the property to 'todays date'? If so, could anyone tell me how and where?
I have read about the possibility to edit the way the timestamp is displayed (removing the time). Howeverthis function is used in a lifetime-feature and can therefor not be changed.
I have also read about making a new property renderer, but I am not sure of how to do it. Read somewhere that I should try to avoid doing it as well... Anyone who knows why?
Does anyone of you have any suggestions on what I should do?
Help will be appreciated and awarded
Regards, Stina.
Hi,
You can achieve this only by changing the property configuration of the standard "cm_modified" Property. It is not good.
Add in Aditional Metadata this value:
customFormat=dd.MM.yy hh.mm.ss
SAP note 816761 for more info about it.
Patricio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your prompt reply!
It works when I edit the cm_modified (changing type from timestamp to date), but as you said yourself; Doing this is not good.
So I'll try to avoid this solution.
I tried to copy the cm_modified property, and changed only the name and id, but still it didn't behave as cm_modified. Do you know why? Just duplicating it, and then change the type would solve all my problems...
Am I missing out on something essential here? I even tried restarting the server...
Regards,
Stina.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.