!Want to display document as a web link

FOR R5 WEB CLIENT

Hello,

I want to put all FTsearch result on a page as a web link.Bcoz i have already try it with Embaded Folder. but problem is when more then one user search the document it will display the combination of search result .

Please advice me for this problem. if any solution is there.

So i m trying it by this way where i write an agent in which i have used DB.FTSEARCH , This will search the document and return me document collection. BUT FROM HERE I WANT TO GET THE DOCUMENTS ONE BY ONE N HAVE TO PUT THEM INTO A PAGE AS A WEB LINK. BUT I WOULD LIKE TO KNOW HOW WE CAN INSERT THAT DOCUMENT COLLECTION IN A PAGE ???. AND ALSO WANT TO KNOW HOW WE CAN MAKE THAT DOCUMENTS AS A LINK.

PLEASE ADVICE ME FOR …

IF U PLESE HAVE SOME RELATED CODE THEN PLZ SEND ME, I WILL BE VERY THANKFUL TO YOU.

Subject: !!!Want to display document as a web link

Your SHIFT key seem to be stuck…

Might want to check the ? key as well…

Subject: !!!Want to display document as a web link

This all uses pretty standard techniques. Just don’t over-think it. You said you have used ftsearch to get your document collection. Now you want to write these to the web browser. This implies that you have gotten the agent working and are just looking to output the data to the screen, correct? If not, think of it that way. Get the document collection you want then work on outputting it. You can do whatever you want with it, really. What you want is to write it to the browser. This means code to create the html links to the documents. Search the forumn for writing javascript in LS or Java (whichever your agent is written in). Essentially you need to encode in your agent the output to PRINT the html code which will write the links you create for each document to the “page” in your web browser.

Essentially loop through your collection and do this (where document in collection is your notesdocument object and path is a variable containing that data. It’s all pretty standard.

Print(“<a href=/”+path+“/viewname or 0/”+document_in_collection.UniversalID+“?OpenDocument>” + “document link text” + “
”)

Subject: RE: !!!Want to display document as a web link

Actually, all you are outputting here is html. No JS needed.