Question

2
Replies
1686
Views
Close popover
Vijayakumar Reddy (VjayaKumar_Coforge)
Incessant Technologies PVT Ltd

Incessant Technologies PVT Ltd
GB
VjayaKumar_Coforge Member since 2018 4 posts
Incessant Technologies PVT Ltd
Posted: July 2, 2018
Last activity: December 13, 2018
Closed

Email Channels and Interfaces: extraction model for email attachment

Hi,

I created Email interface from Channels and Interfaces wizard and configured text analyzer to create the cases and extract the data(value to field mapping) based on the content received from the Email. when I send an email(with attachment) to configured mail box, data is being extracted from Email body and attachment successfully. I want same to be extracted from password protected attachments, how can I achieve this?

I tried below steps which is not working,

I updated java step in pyExtractText activity with PasswordProvider interface implementation,

parseContext.set(org.apache.tika.parser.PasswordProvider.class, new org.apache.tika.parser.PasswordProvider() {
public String getPassword(org.apache.tika.metadata.Metadata metadata){
return "password";
}
});

parser.parse(source, contentHandler, metadata, parseContext);

I am currently using Pega7.4 instance.

Appreciate any help/suggestion on this. Thanks.

Conversational Channels Decision Management
Moderation Team has archived post