Imap metadata
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 04:54 AM
Hi at all,
i've enabled the imap subsystem, when i drag and drop an email on an Alfresco folder, it's created the relative .eml file in Alfresco. I want to change the name of the file created (Message_xxx.eml) with the subject of the email, how i can do this?
I've tried putting this line
messageSubject to cm:name
into "Email Mappings" into the Records Management Console.
Someone can help me?
i've enabled the imap subsystem, when i drag and drop an email on an Alfresco folder, it's created the relative .eml file in Alfresco. I want to change the name of the file created (Message_xxx.eml) with the subject of the email, how i can do this?
I've tried putting this line
messageSubject to cm:name
into "Email Mappings" into the Records Management Console.
Someone can help me?
Labels:
- Labels:
-
Archive
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 05:36 AM
It should work.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 05:53 AM
I have to restart alfresco after i made this setting?
It this the only way to do this?
It this the only way to do this?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 06:24 AM
Are you extracting to an RM folder. In which case you should be able to use the RM admin console.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 07:06 AM
I've seen that the behavior is the same if i put the content in an rm folder or in a normal space, and not all the mappings works. I've tried to change some mapping and don't seems work correctly…maybe the better solution is create a rule at the top of alfresco and change the name from this one.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 08:27 AM
I've see the code of the class org.alfresco.module.org_alfresco_module_dod5015.email.CustomEmailMappingServiceImpl, this class modify the extracter.RFC822 (org.alfresco.repo.content.metadata.RFC822MetadataExtracter) and adds to it the custom mapping defined in the jsonMapping.json.
But reading the wiki about the MetadataExtractor:
The cm:name is a mandatory parameter, so is possible that when the RFC822MetadataExtracter extract the metadata and insert into the node the cm:name is already enhanced?
If it is true, there are some properties that are impossible to overwrite with the Records Management Email Mapping…
I hope I'm wrong
But reading the wiki about the MetadataExtractor:
When a property already exists, it is not overwritten by the extractor.
The cm:name is a mandatory parameter, so is possible that when the RFC822MetadataExtracter extract the metadata and insert into the node the cm:name is already enhanced?
If it is true, there are some properties that are impossible to overwrite with the Records Management Email Mapping…
I hope I'm wrong

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 08:57 AM
Whether a metadata extractor overwrites existing properties is configurable. By default, I think the mode is PRAGMATIC which will not overwrite non null values.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2011 09:39 AM
Thank you so much!
I've changed the overwrite policy and working properly.
Now the problem is that the subject of the email don't match the constraints regex ahah.
I will write a behavior that change the name if the subject if the constraints it's ok.
I've changed the overwrite policy and working properly.
Now the problem is that the subject of the email don't match the constraints regex ahah.
I will write a behavior that change the name if the subject if the constraints it's ok.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2011 04:02 AM
Hello,
I have the same probleme.
Whene I drag&drop an email to Alfresco using imap, it is created with the name "Message_XXXX".
I don't use the Records Management Console (I don't know if there is an additionnal module to install in order to use this console, or not), so I don't really understand the way you use to resolve this probleme.
Someone could help me to resolve this problem?
Thanks and sorry for my bad level in english
I have the same probleme.
Whene I drag&drop an email to Alfresco using imap, it is created with the name "Message_XXXX".
I don't use the Records Management Console (I don't know if there is an additionnal module to install in order to use this console, or not), so I don't really understand the way you use to resolve this probleme.
Someone could help me to resolve this problem?
Thanks and sorry for my bad level in english
