cancel
Showing results for 
Search instead for 
Did you mean: 

File Properties and CIFS

omegerard
Champ in-the-making
Champ in-the-making
Hi,

When you upload a (Word) document via the web interface, Alfresco automatically extracts meta info from the Word File Properties. When you "upload" a document via CIFS (i.e. when you copy the file into the space) this does not happen  (well, you get weird info). I tried a content rule solution, but "extracting file properties" is not offered as a possibility.

Any suggestions?

And, while we're at it, how can the properties extraction be improved? For instance, when I upload a LaTeX file, Alfresco recognizes it as a TeX file, but it does not extract the title and author. Where can I tell Alfresco to look for \title and \author inside the text?

Thanks for your help

Ludo
2 REPLIES 2

jokipii
Champ in-the-making
Champ in-the-making
Hi

Alfresco use org.alfresco.repo.content.metadata.MetadataExtracter interface to extract metadata from different mime types. Currently there isn't implementation for TeX extracter. But it is simple to add there.

In version 1.0 metadata extraction is invoked only from web interface. I hope that in future content rules offered as a solution.

bojo
Champ in-the-making
Champ in-the-making
To extract meta data on upload via CIFS you should create a rule with action = "Extract common metadata fields from content".