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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking DIRECTLY to an attachment!

Status
Not open for further replies.

jwarmelink

Programmer
Jul 15, 2003
1
US
I am trying to use Oracle Text to index and search attachments in LiveLink. (Don't ask why... i wish i knew... not my call)

In any case, in the Oracle database, you enter in a URI to the document you wish to index into a table. It will then hit the URI, download the document, and index it appropriately. Currently, this is the URL I have come up with:


This will call the livelink login function, passes the username and password on the URL, and then the NEXTURL is the link to fetch the document with nodeId 34731.

The problem with this is that it does not, in fact, go directly to the attachment fetch. This URL first responds with a document in this format:

<HTML>
<!-- File: redirectmeta.html -->
<HEAD>
<TITLE>Livelink - Redirection</TITLE>
<META HTTP-EQUIV=&quot;Refresh&quot; CONTENT=&quot;0; URL=/livelink/livelink.exe?func=doc.Fetch&nodeId=34731&quot;>
</HEAD>
</HTML>
<!-- End File: redirectmeta.html -->

This document just uses browser re-direction to send you to the NextURL. This will not work, because Oracle simply downloads this small HTML file and indexes it without forwarding!

Is there a way to construct a url with the func=doc.Fetch that includes a userid and password on it, so that I do not have to use the NextURL functionality?

Please help!

Thanks, Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top