cancel
Showing results for 
Search instead for 
Did you mean: 

TREX content search MSG (msoutlook)

Former Member
0 Kudos

Hi all,

I have a problem with content search of MSG files...

TXT, HTML, PDF, XLS, DOC, PPT... all is working, but MSG do not.

I added into TREXValidMimeTypes.ini row with application/msoutlook and (just to be sure) application/vnd.ms-outlook.

Into TREXMimeTypeMapping.ini I try row

msg=application/vnd.ms-outlook

or

msg=application/msoutlook

In portal (SysAdm > SysConf > KM > CM > Utilities > MIME Types) I have this settings:

Name "msg"

Default Extension ""

Extension "msg"

Locale ""

MIME Type "application/vnd.ms-outlook" (I tested application/msoutlook too)

Resource Bundle File ""

Resource Key ""

all my tests (every time after reindex and restart TREX) were with the same result - index is without any error, name of the files are indexed, but... content of file not.

When I search "msg", search result is for example:

RE PARka.msg Open Folder | See Also | Details

55% No document excerpt available

tomasv 19,5 KB 8/31/07 3:31:09 PM

In document http://help.sap.com/saphelp_nw70/helpdata/en/55/cb634114b78047e10000000a1550b0/content.htm is MSG, so where can be a problem???

Thank you for your time !!!

Tomas

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi All

I am trying to index and search for MS Visio documents in Portal KM using TREX 7.1

It seems the TREX does not picks up the vsd file from the KM repository.

Is this the only two files in the TREX server that I need to change to include the relevant file format type?

TREXMimeTypeMapping.ini

vsd=application/vnd.visio

TREXValidMimeTypes.ini

application/vnd.visio

In the Portal, I maintain the MIME type from (SysAdm > SysConf > KM > CM > Utilities > MIME Types)

Name "vsd"

Default Extension ""

Extension "vsd"

Locale ""

MIME Type "application/vnd.visio"

Resource Bundle File ""

Resource Key ""

Do I need to put the TREXMimeTypeMapping.ini file in Portal?

Anything else that I need to change?

Thanks.

-mike

Thanks.

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Nope that's it.

biagio_lobascio2
Participant
0 Kudos

We are indexing documents in DMS.

How can i access the mime-Type utillity-Settings in portal, when trex ist not connected to a portal?

Thanks!

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thomas,

can you contact me on the email address in my business card? I've implemented your configuration on two seperate systems but in both cases it did not work. I could use some additional help if you have the time and willingness. Thank you in advance

Marcel

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Update:

to anyone who wants to get the to work also. Make sure you re-post the .msg or .eml file to the repository after you made the change in CM. This will assign the documents to the correct mime type. It does not do this automatically!

If you follow the steps above then it actually works!

Marcel

Former Member
0 Kudos

TREXValidMimeType.ini:

is necessary add following rows:

application/vnd.ms-outlook

message/rfc822

of course restart TREX and reindex :c)

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

are you now able to search through MSG files?

Marcel Rabe

Former Member
0 Kudos

Hi Marcel,

yes, now is all working - I can search through MSG files.

yould I help you? do you have the same/similar problem?

BR

Tomas

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

yes I do. I can search and find MSG files based upon their file name, but as indicated in help.sap.com I cannot search through the MSG files. How did you get that to work?

Marcel

Former Member
0 Kudos

Hi Marcel,

is working search through other files? that means particularly DOC??

do you changed file TREXValidMimeTypes.ini?

- is important add row "message/rfc822"

do you set settings for extension .MSG?

- is important set the MIME Type: message/rfc822

BR

Tomas

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

I'll double check. Thank you for your quick reply

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

just another question. Have you checked this with the .EML extension as well? Basically we are connecting to our Exchange server via WebDAV which lists all emails as .EML files.

Marcel

Former Member
0 Kudos

Hi Marcel,

I didn't tested EML, only MSG.

but for example at http://filext.com/file-extension/EML you can see that EML is MIMETypes message/rfc822, so it should be working....

Tomas

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

I've added the line message/rfc822, to ValidMimeTypes.ini and added the MIME type "msg" to CM with values:

Name: msg

Default extenstion: no

Extension: msg

Locale:

MIME Type: message/rfc822

Resource Bundle:

Resource Key:

however, I still can only find the filenames, but not search through the content. I've restarted the TREX and the portal.

Do I need to change anything on operating system level as well?

marcel

zbynek_kabrt3
Participant
0 Kudos

Unfortunetally, I think *.EML format is not supported by TREX.

http://help.sap.com/saphelp_nw04/helpdata/en/55/cb634114b78047e10000000a1550b0/frameset.htm

Moreover I think that when you (or TREX) open EML document via portal, it opens in OWA. But in the case you have to resolve problem with authentication. If my opinion is wrong, someone correct me. I would like index EML documents too and I don't know how.

Former Member
0 Kudos

Hello Marcel, Zbyněk,

could you please send me some EML test file? On my TREX is working doc, xls, pdf, txt....msg, so I can do some short test for EML :c)

2Zbyněk - I think that is most important MIME Type, so I hope it will working

2Marcel - is working others file formats? I thing especially DOC?

BR

Tomas

MarcelRabe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tomas,

yes it's working fine with other formats.

By the way Trex version is SPS12 / 34

The strange thing is that when I look at the files with TREX Admin the .msg documents are set to contenttype: application/octet-stream

This seems strang to me since this MIME type does not exist in the TREXValdiMimeTypes.ini file, nor is it set in the CM Mime Types.

If you provide an email address I'll sent you an .EML file monday.

Marcel

Former Member
0 Kudos

Hi Marcel,

Zbynek set me the file and we discussed about it.

Zbynek have more experience about this problem (direcly EML files), so we have to wait for his news :c)

application/octet-stream is for binary file, so if you do not set anythink in TREXValidMimeTypes.ini and/or CM Mime Types, then is assign octet-stream.

Tomas

Former Member
0 Kudos

I forgot, as usually :c)

W2k3 svr, NW04s, TREX 7.1