Focal Point
[CLOSED] ODP/SET WEBVIEWER=ON Search Facility Better Highlighting

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/68710059

April 27, 2009, 12:08 PM
hammo1j
[CLOSED] ODP/SET WEBVIEWER=ON Search Facility Better Highlighting
ODP is great, but the search facility only takes you to the page and highlights the search item by underlining it which does not make it stand out at all - you have to search the entire page most of the time!

Anyone got any ideas how to improve this?

Also a really great feature would be SET WEBVIEWER=5000 so that if more than 5000 lines were output WEBVIEWER would be automatically triggered.

This message has been edited. Last edited by: Kerry,



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
April 30, 2009, 04:28 PM
Kerry
Hi John,

Per suggested: This has been requetsed as a New Feature Request, but here is a technique that might help.

-*
(also known as 'CSS'). Note that if already using Cascading Stylesheets
in their application, this is even easier to add.
Here's how to do it.
Create a CSS as follows
1. Open a new text file.
2. Type or paste in the following:
BODY {
font : x-small Verdana, Arial, Helvetica;
}
U {
background : Blue;
text-decoration : none;
color : White;
 
font : bold;
}



Save it in your Web server's
inetpub\wwwroot directory as CHASE1.CSS.
Now run the following focexec in the Gotham Grinds adhoc page:

TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
ON TABLE SET WEBVIEWER ON
ON TABLE SET STYLE *
CSSURL=http://your_web_server/chase1.css, $
ENDSTYLE
END


WEBVIEWER will come up with the report. Now type DOOR into the Find box and click the Find button. Note when it's returned, it's highlighted in blue. The color can be changed by simply changing the color used in the
Cascading Stylesheet.

Hope this helps.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
May 05, 2009, 05:19 PM
Dan Pinault
FYI -

In the WebFOCUS Admin Console - Configuration - On Demand Paging section there are some settings...
_search_begin
_search_end
In these fields you can put the HTML formatting that will surround the search term when it is found.
We have ours set to
<span style="background-color: #FFFFCC"><strong>

 </strong></span>


This simply highlights the text and makes it bold but whatever formatting you can think up you should be able to apply. 50 point, lime colored, Showcard Gothic should stand out pretty well ;o)


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.