Getting data in a Web Page from Lotus Notes Database

Let me explain what I need do.

I need create a Web Page with a search engin that need search the data from a Lotus Notes Database.
Is it possible to do?? How can I do it??

Thanks for your help

Ricardo
rtakahashiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndrewJayPollackCommented:
yes.  it can be done a few ways.  The best/easiest would be to create a web based agent on the notes server, called via html, that returns a page formatted with search resultes generated on the notes server that you can read.
0
rtakahashiAuthor Commented:
Hi Andrew , thanks for your help , but... do you have any document or manual that explain how to do it??? step by step???

Thanks a lot

Ricardo
0
AndrewJayPollackCommented:
well, my product "NCTSearch" (of which a demo is online for free) could show you ONE way to do it.  

You're going to write lotuscript in an agent.  Lets say your agent is in a db called "mydb.nsf" and the agent is called "myagent"

the url would be:

http://myserver/mydb.nsf/myagent?openagent

The agent code could be as simple as:

dim session as new notessession
dim thisdb as notesdatabase
set thisdb = session.currentdatabase
dim col as notesdocumentcollection
set col = thisdb.ftsearch("keyword", nothing, 0)
dim doc as notesdocument
if not col.count=0 then set doc=col.getfirstdocument
while not doc is nothing
 print doc.Anyfieldname(0)
 print "<br>"
 set doc=col.getnextdocument(doc)
wend


of course, this is fairly simplistic, assumes a fixed search parameter, etc...  you can get very much more complicated.  Several of us here could build you something in as little as two hours, but most would charge you to do that.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

rtakahashiAuthor Commented:
Hi Andrew , thanks for your help , but... do you have any document or manual that explain how to do it??? step by step???

Thanks a lot

Ricardo
0
AndrewJayPollackCommented:
this is programming.  There are books on how to program in many languages.  Lotus Domino is not like microsoft exchange, a menu driven configurable email tool.  Lotus Domino is a programming environment.  There can be no "step by step" set of instructions for what you want, beyond what I've given.  You need to write code.  The example I gave you is minimal, but functional code, and I've told you where in the database you can put that code, and how to call it by URL.  I don't think I can do much else.  sorry.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZvonkoSystems architectCommented:
Hello Ricardo,

searching trough Full Text of a Notes database is a built in feature of Domino.

To see what you need on your web page to be able to start a Full Text search look into this example on your machine:
C:\LotusR5\Notes\Data\domino\icons\search.htm

On this form you do not see the <form> Action.
You have to compose it to your needs.

Here is a description about built in search Actions which Domino can serve:
http://www-12.lotus.com/ldd/doc/domino_notes/5.0.3/help5_designer.nsf/078c27b23262ffff852566dd0029426a/77cffbfc5b0c20378525687e00583a98?OpenDocument&AutoFramed

And last but not least needs your target database to be Full Text indexed.

Any further questions?



0
rtakahashiAuthor Commented:
Thank you Andrew ,,, I don't know why my message " Hi Andrew , thanks for your help , but... do you have any document or manual that explain how to do it??? step by step??? " appeared again , sorry , it was a mistake...

Ricardo
0
AndrewJayPollackCommented:
No problem Ricardo.  Its a common mistake on EE.  If you hit "refresh" that happens.  Its a problem with they way they wrote the site.  I'd love to rewrite the thing in Domino.  It'd be a lot nicer.

:-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.