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!

Customize advanced search page

Status
Not open for further replies.

madhuusa

IS-IT--Management
Oct 5, 2006
93
US
One more question team.

Can we customize "Advanced Search" page. Basically we want to remove "Natural Language Query", Scope, XML Types and Browse Livelink.

In admin page there is an option to hide "Natural Language Query" from advanced search page. But it seems not working (We are installing latest monthly patch soon and hopefully that should do something).

I have created custom view search (save advanced search page as html and strip away everything except search box and add as custom view file.)

Is there a similar thing I can do with advanced search page and then make a template and make this template default advanced search page for all users?
 
I was doing some 'research' on this. Is customizing via builder the only option. Meaning should we put something like htmlmap module to overwrite the "Advanced search" pages?
 
Quick question AppNair. Should I save the html file in say support directory. If so then how do I link it to the Advanced Search. Should I then on the html page that renders "Advanced Search" link point to this saved html?
 
Thanks weerdt. I am aware that webreports has tags to do search page's. But was wondering whether we can do it livelink way itself instead of purchasing a new module like webreports.
 
The easiest way is to put that code that you found on this forum in a customview.html and remove all the trimmings that you don't need.The page is just a html form that can be run by any user who gets to see that customview.Pls note the advanced search page is OpenText weblingo code, I was not suggesting to change it I was merely mentioning the fact that you can create custom searches using this approach.Although a very simple oscript customization will allow you to put a "search button" on that.Let me know if you need to know how to do that in oscript.

Also take a look at one of the pages that I did which required xml style sheeting for prettying up etc.I got the idea from this forum faq.I beleive I have documented my approach.We then put this page as a featured item for the particular group which was finding it hard to understand the livelink adv query page.


Wow you must be really working there you have been posting hither/tither on so many things at one shot


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,Livelink ECM Champion 2008
 
Thanks AppNair. I will take a look at the community page.

Coming back to OScript, is the only way to put a custom advanced search page if a user clicks on "Advanced Search" is to do OScript customization basically to override the out-of-box "advanced search" rendering htmls?

You are right. What we are doing is to roll LL to other teams apart from couple of champion teams and we are being told to do things here and there. Hopefully it will settle soon :)

Thanks again for all your help and quick responses.
 
well Oscript allows you to put buttons similar to what you see on the advanced search page.If you start builder and take a look at the collections ospace you can see how simply you can code things around advanced search.I used it to create a button(I called it data book) and created an app that allowed users to sort/rename search results etc so Iknow it can be done.

Otherwise since the finished output of the advanced search is plain old html you can AT YOUR OWN RISK AND GRIEF CHANGE THAT.You never know if a patch will override your changes.Try talking some sense to your users,why do they need you to change the look and feel of the advanced search page,can't you just take their requirements and make it into an Admin template so these guys don't have to do anything but use the template:

Or use the searchxmlapi using the form..

Unless these are adamant users and are willing to go and pay for your time I will never do a custom job because I know oscript changes requires some good reserch and upkeeping .OT does give you the search XML API for search so you can pretty much do a lot with it without even touching core code so we can do all these crazy things users ask us to.

No more answers for you you have been dominating the thread :)I also have a job....


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,Livelink ECM Champion 2008
 
Your points are perfect Nair.

I know of searchxml api. I will look into it wherein custom nice html can be done mimicing the look and feel of search page and search button goes of the API.

I have taken lot of your time and many thanks for that. Hopefully only search and ldap so far :)
 
If you want to change the HTML (WebLingo), which is probably the simplest way to fix this issue, although as AppNair points out you may have issues with an OT patch etc, either because it replaces the page you have made your changes to or that the code from OT changes the output that is passed to your edited page.

This site has some sample customised WebLingo pages for you - - and a tutorial on how to do it can be found at
Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top