I have created a database which I will use as a Portal, I have 4 layers 3 with embedded views one with a table to links (menu) above this menu I placed a search box with a submit button, What I need to happen is for the user to be able to enter a persons name or department and have the submit go search a different database and provide the results on a pop up window or within the same layer in the look of a view or something like the search results when using the built in search from Domino. I need the search to only look at the records so as not to pull up data from the design level. Any suggestions?
Subject: Web Search
create a hidden view (ViewName below)that contains all the documents you want to search through then put something like this in your HTML Head
DBName := @ReplaceSubstring( @Subset( @DbName; -1 ); “\”; “/” );
“[/” + DBName + “/ViewName?SearchView&Query=” + @ReplaceSubstring( Query; " “; “+” ) + “&SearchOrder=” + @Text(Sort) + “&SearchMax=” + @Text(MaxResults) + “&SearchWV=” + @If( ExactMatch=”“; “TRUE”; “FALSE”) + “&SearchThesaurus=” + @If( UseThesaurus=”"; “FALSE”; “TRUE” ) + “]”
Also, don’t forget to Full Text your db.
Subject: RE: Web Search
that’s close but I am searching a separate database not the one within the search engine…In my portal (portal.nsf) database I am searching our employee lookup database (emplook.nsf) for the by last name view and the by department view. Once I put this into the Head of the DB what’s the functionality? I can send you the db if you’d like…
Subject: RE: Web Search
Okay, I’ve read through your original post a couple of times and I guess I’m confused about what you are looking to return. If they do a search in say an employee lookup db given the name and/or department, results will be phone number, location, etc., right?
Why do a search at all, why not just use a dblookup?
Subject: RE: Web Search
In our portal db I have several layers with embedded views, these are working OK thus far, my requirements are to have a small search window such as the one here on the forum on the left, the users will input a name of an employee and the results should either pop up in a window or display within that layer. if doing a dblookup will provide that type functionality then I’m all for it. The SEARCH THIS FORUM box does basically what I need it to do except that the data I’m looking for exist in a separate db I even like the look of it. By the way this is for a web based application…I just need the search to look at another db and provide me the results in a pop up if possible if not then within the layer…Thanks for your help!