No icons in Outlook Client on emails added to ACS via Bulk Import instead of via Outlook Client
Emails imported into ACS via Bulk Import are not marked as archived with the Alfresco icon in Outlook.
Steps to reproduce
Install the Outlook Connector in ACS and the Outlook Client in a local Outlook installation.
Save an email out of Outlook as a .msg file, and place it in a folder together with the attached metadata.properties.xml file, renamed to match the name of the .msg file and edited to make sure the title, created date and author match the email.
Go to the Bulk Import UI (http://localhost:8080/alfresco/service/bulkfsimport), fill in the import directory with the folder containing the two files described above, and fill in a target path or node ref, then start the import.
Confirm the email has been imported to ACS, then view it in Outlook.
As the email is now archived to ACS, it is marked with an Alfresco icon in Outlook.
The email is now archived to ACS, but there is no indication of this in Outlook.
I've tried to test this and noticed that the aspect and property already existed on the bulk imported email. The only difference was that the property value in the email added via the client was surrounded by < >. I've modified the property so the formatting matches, but the icon still wasn't shown.
The imported email had an additional aspect "wpsmail-v2:doNotCheckEmail". I tried removing that, but it also didn't make a difference to the icon.
It is in the email headers (see attachment). Note that it has not been tested that simply adding this aspect and properly populating the properties will result in the icon being shown.
Thank you , I've passed on that info.
Do you know if there is a way to find that messageId so the property could be set manually?
This is not a bug. When an email is archived using the Outlook Integration, the aspect wpsmail-v2:email-metadata aspect and all it's associated properties are added to the node. It uses this aspect, and in particular the wpsmail-v2:messageId property value, to determine whether that email should have the archived icon applied.
When using bulk import, this aspect is not present and thus the integration does not know how to connect the archived email to the email that is in Outlook.