cancel
Showing results for 
Search instead for 
Did you mean: 

Change modified date

togum
Champ in-the-making
Champ in-the-making
Sooorry if I re-post!!

I have a problem in my Alfresco.
I've uploaded some files to Alfresco via CIFS and Web Client also.

I don't know, is it a default or not about modified date in Alfresco.
So all files that uploaded to Alfresco have modified date when they(files) uploaded to Alfresco.
Ex:
I have some files:

Files                                          Modified date
Market_April.doc                       01/27/2010
Project_Issue.txt                        06/23/2009

But after I upload to Alfresco (ex: I upload on 03/29/2010)
Market_April.doc                       03/29/2010
Project_Issue.txt                        03/29/2010

So I want to change modified date in Alfresco as a real modified date (not when I upload the data)

Help me please!!!
4 REPLIES 4

derek
Star Contributor
Star Contributor
Hi,
The cm:auditable aspect is not modifiable as it is used internally to record actual changes to data.  You can add an aspect (there's an argument that we should supply one by default) with the properties you require and configure the metadata extractors to redirect data to this, exposing the properties in the UI as read-only.
Regards

togum
Champ in-the-making
Champ in-the-making
Hi derek,

I'm so sorry. But I am very newbie in Alfresco.
How can I add an aspect?
Can you tell me step by step friend?

Thank you!

chandu7ee
Champ in-the-making
Champ in-the-making
Hi derek,

I'm so sorry. But I am very newbie in Alfresco.
How can I add an aspect?
Can you tell me step by step friend?

Thank you!

Hi togum,

u can add aspect in many ways.

using javascript : ->  document.addAspect("cm:auditable");
u can do run action to add some aspects.
or else add the aspect in model.

derek
Star Contributor
Star Contributor
Hi,
By "add an aspect" I meant declare it in the dictionary and then, as suggested, add the aspect to your documents by either specifying a rule that does it, adding it manually in your code or by making it a mandatory aspect for all files via the dictionary.
Regards