Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import .msg file in the Content Server

Status
Not open for further replies.

mr522

Programmer
Jan 21, 2015
19
SG
Hi Experts,

I have a requirement to import the .msg files with metadata to the content server 10.5.msg files and metadata in the file system.
I want to import using Content Webservices.what is the best way to import the .msg files in the CS10.5?

Thank you in advance.



 
Not sure if my posting helps or not.If the object that you are reporting needs to come in as subtype 749 the email subtype then your options are

1)Extend OOB WSAPI using Oscript by defining the logic in Oscript.Not an easy avenue if you are new to livelink and oscript.
2)You can install the Enterprise Connect plugin form OT and manually play with how a drag and drop mail works,then you can create a addin using word or excel VBA.OT has documenetation that shows how cliett SDK programming is done via EC.I don't know how it is done but there are lots of people posting in the KB saying they added this menu item and that menu item.
3)You can use the old lapi binaries.I beleive it supported email because that is how email management from OT used to work.It is quite possible since lapi is deprecated the ot email managment program is now using WSAPI.You could ask them nicely or see if there are public api's.
4)Personally I would opt for Object Importer by writing an extension.....

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
In addition to the options identified by Appu you may also wish to consider the following.

Create a solution that mimics the http request made by the EC client when uploading an email with email metadata. This is similar to Appu's option 2 but does not use any API.

The main challenges are:
a code that extracts the email metadata from the binary msg files. The msg format is well documented but there is quite a steep learning curve.
b generate the http request in correct format for CS to treat it as an request from an EC client.

It can be done (I have used HTML5 + JavaScript) and works like a charm. Other programming languages will also work.

Make sure you can handle UTF-8 / non unicode, large emails (e.g. 10 MB), and cater for fragmented files (the sectors in the binary file are not sequential).

regards,

Paul

Addition 01-10-2015
Another solution is to use LAPI XML Import. I have never tried this but it has been used. See for details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top