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!

Object Importer : cannot import .pdf files

Status
Not open for further replies.

hanreb

Technical User
Jan 23, 2008
90
US
Hello,

With Object importer I was able to import .txt files into livelink, but was not able to import .pdf files.
It gave error saying .pdf file not found.

What could be the problem ?


Below is my control-file.

<?xml version="1.0" encoding="UTF-8"?>
<import>
<node type="document" action="create">
<location>aasuneas01 Home</location>
<file>ABC0012376.pdf</file>
<category name="Livelink Categories:purchasing_PO">
<attribute name="POID">RHI0012376</attribute>
<attribute name="BusinessUnit">RHI</attribute>
<attribute name="PODate">20070125</attribute>
</category>
</node>
</import>


Could you please let me know what is wrong ??

-Sunu
 
Do you have this file <file>ABC0012376.pdf</file> in the livelink server running the object importer under the control file folder.

The process is very simple,the OI looks for files either specifies in the "UPLOAD" directory or the sevrs control file area.The livelink service user should have rights to the file.

For eg I could write this as

<file>\\myserver\filesforlivelink\ABC0012376.pdf</file>
in this case I would have to give the livelink service user access and rights to the UNC path.

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 and probably certfiable,Livelink ECM Champion 2008
 
also you would want to put the mime type also

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 and probably certfiable,Livelink ECM Champion 2008
 
Yes, you are right.
I was putting the .pdf files in the Livelink application server, but I was supposed to put it in the admin server location.
Why the .txt worked, bcos somehow the .txt that I was referring to was in the admin server, hence that got uploaded.

Thanks for re-opening my eyes.

Sunu
 
To correctly understand it if it is run by the OI agent then the files need to be on the server running the agent or a path the service user has access to.Typically in small organization 'Admin' servers are used to run the agents.I have had times where I was parallel processing OI on more than five livelink servers and none of them were my 'Admin' servers,they were just livelink servers processing OI files :)

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 and probably certfiable,Livelink ECM Champion 2008
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top