Alternate Color for Search Results

Hi Experts,
    I have a scenario, When I search a keyword in TREX Search of Portal, I am getting the result.  Is it possible for me to give background(Alternative) coloring for the ResultList(1,3,5,.. results in one color, and 2,4,6,.. results in another color)?  If so, please guide me, how to achieve this?
Thanks & Regards,
Venkatesh. K

Hi Venkatesh,
It will surely work out.
But you must have added a different layout which is not suitable for search result rendering.
The layout controller should be Simple Layout Controller.
And then u can have a CollectionListRenderer where u can mention ROW ALTERNATING.
Regards
BP

Similar Messages

  • Alternate colors for Analysis grid in workbook

    hi all,
    I am wokring on Bex 7.0 , Can anyone guide me how to acheive the alternate colors in the  data area of Analysis grid in a workbook.This property is available in web items but i am not able to do to with the workbooks.And also pls I need an example how we can work with themes in workbooks ,also creating the new themes.
    Thank you.
    Regards
    Mandha
    Edited by: kranthi mandha on Jan 3, 2008 12:57 PM

    Hi,
    For Apply Formatting :
    Deselect this checkbox to switch off the display of formatting, including icons and background color. Displaying formatting during navigation can be time consuming. You may therefore want to switch if off for performance reasons. An example is if you are navigating to achieve a result that you want to export to a text-based file.Scroll bars and scrolling icons are not affected by this setting.
    SAP Notes:
    Customizing Default Workbooks
    You can format a workbook using all the Microsoft Excel functions. The following options are available, for example:
    ●      Add a background graphic to the worksheet
    ●      Add additional worksheets with design items or charts
    ●      Embed a VBA macro that allows you to easily access the BEx Analyzer object model to enhance your workbook with BEx-specific custom VBA code
    ●      Format cells outside of design items with text, borders, and colors
    ●      Add a logo to a particular cell (outside the range of a design item)
    You can also format a workbook using the BEx Analyzer design functions:
    ●      Add or remove design items that you want to display by default
    ●      Change the locations of design items
    ●      Apply a BEx theme (see Workbook Settings)
    Cells belonging to design items themselves use a standard formatting.  Using Microsoft Excel functions, you can manually format these cells in analysis mode. For example, you can select a row of results in the analysis grid and set the text to bold. However, when you refresh the query, the standard formatting for the query cells is restored and the settings for these cells are lost.
    You can permanently format design item cells in two ways:
    ●        Using BEx themes, you can select different formatting themes, including formatting for design items. See Workbook Settings
    ●        With certain types of queries, you can work in formula mode, which gives you complete freedom to format the cells as required. See Working in Formula Mode.
    For example, your current default workbook consists of a background graphic and the Navigation Pane and Analysis Grid design items. You work with different queries in which exceptions were defined. You want to be able to display exceptions easily when you open queries in the BEx Analyzer. You want to display a background graphic that contains an exception alert symbol. You proceed as follows:
    ●        Create a new blank workbook using Microsoft Excel function New.
    ●        In analysis mode in the BEx Analyzer, choose Format ® Sheet ® Background in the Microsoft Excel menu, and select a different background graphic.
    ●        Use the BEx Analyzer design toolbar to insert a List of Exceptions design item. If you were not already connected to a system, you are prompted to connect now.
    ●        Insert an Analysis Grid design item to display the query results.
    ●        Choose Save ® Save Workbook As in the analysis toolbar, and save the workbook to the server.
    ●        Close the workbook.
    ●        Choose Open ® Open Workbook and open the workbook from the server. This is a prerequisite to be able to define workbooks as default workbooks.
    ●        In the analysis toolbar, choose Global Settings, and in the Current Default Workbook section, choose Use Current. Your customized workbook is now the default workbook.
    ●        Choose Open ® Open Query and select a query.
    Your query now opens in the workbook you have defined as the default.  The Exception design item is already embedded in your workbook and your custom background graphic is displayed
    Themes
    BEx themes, based on NetWeaver Portal styles, are shared services across the Business Explorer suite. In the BEx Analyzer, they are delivered as a set of Microsoft Excel style definitions for your workbook. Themes provide formatting information such as background color, font, and font size. To display the set of style definitions for a workbook, choose Format  ® Style from the Microsoft Excel menu.  The styles provided by the Business Explorer are prefixed with SAPBEX*.
    Themes are content objects that are stored on the server and that you can choose to activate.  Themes are stylesheets in which you can make important changes to a theme. All workbooks in which the theme is used are updated accordingly. 
    The following settings are available on the Themes tab page:
    Current Theme
    The list of available BEx themes is displayed. The BEx theme that is currently applied to your workbook, if any, is selected.
    New/Delete/Apply/Save
    If the following special authorization is assigned to your user name, you can change and save themes on the server: AUTHORITY-CHECK OBJECT 'S_RS_TOOLS' ID 'COMMAND'  FIELD 'THEMES'.
    If you have this authorization, these buttons appear:
    ●      Create a new theme by choosing New.
    ●      Select a theme from the Current Theme list, and choose Delete to delete it. This deletes your theme locally.
    ●      Select a theme from the Current Theme list, and choose Apply to apply currently configured styles to it. When you do this, the BEx Analyzer reads the Microsoft Excel style definitions of all the styles in the workbook that are prefixed with SAPBEX* and stores them in the selected theme. This allows you to edit the styles in Microsoft Excel and then create a theme with these customized styles.
    ●      To save all the themes to the server, choose Save.
    Reapply Theme Before Rendering
    Since BEx themes are saved on the server, they can be changed on the back end. Select this indicator if you want to retrieve the most up-to-date definition of the style from the server and apply it again.
    Apply New Styles
    Select this indicator to update the current workbook with any style that has been added to the theme on the server since the theme was originally applied. If, for example, new styles have been added to a theme during a patch release, you can retrieve them from the server with this option.
    Do Not Use a Theme
    Select this indicator to stop using the selected theme in your workbook.
    pls chk this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/85/1321d0b7864766b5208a0b221a7608/frameset.htm
    *pls assign points,if info is useful*
    Regards
    CSM reddy

  • IProcurement - new VO for search results not working properly?

    Greetings
    There is a requirement for the project I´m working, where the search results on iProcurement must be filtered depending on some profiles setted for the user.
    So, basically the search shouldn´t look into ICX_CAT_ITEM_PRICES, but on a custom view that works on that table, but filtering results.
    Unfortunately, that´s not working. I extended the VO (which seems to be SearchResultsVO and ItemDetailParametersVO), so the queries are now pointing to the view. But once the search is performed, the results are not filtered. It´s the very same results as before.
    Am I doing something wrong? There is some cache that works even after the Apache server is restarted? Please I could really use some help on the subject! Thanks!
    Best Regards,
    Thiago

    Thiago,
    Why don't you use a local Jdev setup for substitution process so that testing and debugging is easier.
    Follow these steps for testing locally:
    1. Add your VO to AM.
    2. After extending VO, do the following,
    Right-click on your project in the Navigator pane, and select Edit Business Components Project (or right-click on the project's .jpx and select Edit <project>).
    a. Select the Substitutions section.
    b. From the Available list, select the base object that you want to replace and press ok.
    3. Normally, the BC4J runtime does not read a project's .jpx file. To override this default behavior in JDeveloper so you substitutions can be used, you must do the following to ensure that the classpath contains the .jpx file.
    a. Right-click on your project and select Project Settings.
    b. Then in Configurations | Development | Runner, add -Djbo.project=Name to the Java Options. Note that the Name value is the .jpx file name without the .jpx extension (for example, ExtendLabSolutions). Be sure to include a space between any existing options and the new option.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to change the layout set for Search Results

    Hi gurus.
    I’m developing a search component for KM Search iView, and as a requirement the layout must change dynamically to display the search results.  How do I get this to happen?
    public SearchParamsMap getSearchParamsMap() {
         SearchParamsMap m = new SearchParamsMap();
              try {
              IQueryEntryList list =                   this.createQuery();
                   m.put(SearchParamConst.PARAM_SEARCH_QUERY_ENTRIES,                list);
              } catch (WcmException e) {
                   e.printStackTrace();
              m.put(
                   SearchParamConst.PARAM_SEARCH_IN,
                   SearchParamConst.SEARCH_FROM_FOLDER);
              m.put(SearchParamConst.PARAM_SEARCH_FOLDER, path);
              return m;
    private IQueryEntryList createQuery() throws WcmException {
              Hashtable searchParameters = new Hashtable();
              searchParameters.put(
                   SearchParamConst.PARAM_ITEMS_SELECTION,
                   SearchParamConst.ITEM_ONLY_DOCS);
              searchParameters.put(
                   SearchParamConst.RESULT_LAYOUT_SET,
                   "Sed_Comunicados");
              SearchQueryListBuilder sqb =
                   new SearchQueryListBuilder(searchParameters);
              IQueryEntryList qel = sqb.buildSearchQueryList();
              return qel;
    In the createQuery() method, code searchParameters.put(
                   SearchParamConst.RESULT_LAYOUT_SET,
                   "Sed_Comunicados"); is not working.  Also, where do I find the documentation for Class SearchParamConst?

    I have the same question.  Any help will be greatly appreciated.

  • Simple Question Alternate color for Interactive form

    I can easily change the alternate color in rows for tabular but not interactive,
    can someone show me how.
    Thanks,
    Doug

    Hi,
    At the moment, I don't think that's possible - see: Interactive report template
    You can get the alternating colours when the page is first loaded (the above link has an example of doing that), but when you use the pagination functionality, the colours are lost.
    Andy

  • How to highlight search term in a different color in search results?

    Hi
                  How can I highlight search term in a different color in the search results. Currently it is black, I would like to change it to green.
    Thanks in advance
    Regards
    Vidya

    Dear Bhanu,
    It might be possibe but i am not fully sure about it.
    try with different combination and check it.
    I need to check whether it is feasible or not.
    Best Regards,
    Arun Jaiswal

  • Change default ordering for search results?

    Hi,
    I have just switched to using Mail.
    It seems the search results are always ordered by rank as default, but usually I have some intuition about when the message was sent so for me it would be great if there was a way to have results ordered by date by default. Is this possible, perhaps with a plugin or applicescript?
    Thanks

    If you enable highlighting, the box the end user has is selected by default and you cannot change that. If you want that option added in a future version, submit a feature request.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips

  • *urgent* Alternate colors for Grand total values

    Hi all,
    I have 1 dimension column and 4 fact columns. Here I perform Grand total for the request .
    The requirement is :---
    I need alternate colors as background for the Grand total values.
    Am trying to modify the XML in Advanced tab .
    I tried to do it by using combine request .
    Please help on this . Urgent .
    Thanks a lot in advance for every reply .

    Please give some suggestions.

  • Change font for search results? RH 9

    I've been asked by a client if we can show the same font in the search results that we use for the Contents TOC - Trebuchet 10.  I can't find it in the skin settings.  Can anyone help?
    Thanks...

    As Column, mentioned, you must do this in the output files as far as I know.
    Go to whfform.htm <http://www.wvanweelden.eu/output_file/robohelp-9-and-earlier-webhelp/whfformhtm>  and change the lines
    setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");
    setFont("Error", "Tahoma","8pt","Black","Normal","Normal","none");
    setFont("Hover", "Tahoma","8pt","Gray","Normal","Normal","underline");
    I believe this will change the search result fonts.
    Note: You need to save the modified whfform.htm and paste it in your output after every generation.
    Greet,
    Willam

  • Color for search box

    ''dupe of https://support.mozilla.org/en-US/questions/916383''
    Search box Background color is blue instead of white. Everything is fine when I type for the 1st time in the search box but when I go back to the search box to tweak what I had typed I can no longer SEE what is typed in the search box. SOOO annoying. If I highlight the text in the search box I can then see it. How do I change the background to WHITE?
    Looks like firefox/google likes blue background, even this box comes up blue.

    That can be caused by the "Keystroke protection" in Comcast Constant Guard.
    "Configure Anti-Keylogging Settings" -> disable
    *[[/questions/874709]]
    *[[/questions/870165]]

  • Times ten to improve performance for search results in Oracle eBS

    Hi ,
    We have various search scenarios in our ERP implementaion using Oracle Apps eBS, for example searching for an item . Oracle apps does provide item search but performance is not great. We have about 30 million items and hence to improve the performance of the search thought Times ten may help.
    Can anyone please clarify if Times ten can be used to improve performance on the eBS database , if yes how.

    Vikash,
    We were thinking along the same lines (using TimesTen for massive item search in e-Business Suite). In our case massive Item / parametric search leveraging the Product Information Management application. We were thinking about setting up a POC on a Linux Server with a Vision Instance. We should compare notes?
    SParker

  • Page not found error for search results

    I have a site search recipe that worked perfectly on a previous site. I’ve created a new search for a different site following the same recipe. I must be missing something though, because I am getting a page not found error.
    Here is the code that worked before:
    <form name="catsearchform32891" method="post" action="http://corehog.businesscatalyst.com/Default.aspx?SiteSearchID=3770&PageID=15863972" ><div><input class="search-box" type="text" name="CAT_Search" id="CAT_Search" /><input type="image" src="http://corehog.businesscatalyst.com/images/search-button.png" class="cat_button" /></div></form>
    Here is the new site search:
    <form name="catsearchform12233" method="post" action="http://greenprideinc.com/Default.aspx?SiteSearchID=3936&PageID=1661214" ><div><input class="search-box" type="text" name="CAT_Search" id="CAT_Search" /><input type="image" src="http://greenprideinc.com/images/search-button-n.png" class="cat_button" /></div></form>
    Any suggestions on what I’m doing wrong?

    I just noticed one simple thing. I do not know its bug or what.
    After sign in the page is getting redirected to :
    https://creative.adobe.com/#files
    where I am getting error saying that page not found.
    I tried to add '/ ' after that and it works.
    https://creative.adobe.com/#files/  <<< like this.
    I guess some link issue or redirecting issue.

  • Copy command not working for Search Results

    Hello,
    We have a Search Form that triggers a  TREX URL search.  We also add a custom Layout Set on the search URL.  (see URL below)
    <b>URL Search:</b>
    http:
    <server name> &ConfigFileName=Navigation.xml&layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=ctrlpers&QueryString=*&rndLayoutSet=CustomLayoutSet&SelectedMatchesPerPage=15&SearchVisible=false
    In the custom Layout Set, we've made our own UI command group to include the following commands:  Search_from_here, details, copy, move etc…
    The problem is that whenever we click on the 'Copy'  or 'Move' command of a resource, we get the following error message:
    =====================================
    Item not found       
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible.     
    ======================================
    The error message in the KM log files simply states "ERROR: RID not found".
    Would anyone know how to fix this issue!  I've tried many layout sets, but the copy command always gives me the same error message!
    Any help or suggestions on this would be much appreciated...
    Thanks,
    Harman

    Hi Harman,
    yes, this is a known issue.
    It's fixed with NW04 SPS 13.
    Regards Matthias Röbig-Landau

  • How do I change color of hyperlink search results in WebHelp Pro?

    I'm trying to figure out how to change the color of search result hyperlinks when using WebHelp Pro in RH8. The links currently are vibrant blue and purple after clicked on. I can't find anywhere in the style sheet or in the skin editor options to define this. Any help would be greatly appreciated.

    In your .css file, use something like the following; the "A:" would be your default link, and the "A.topic:" would be a different class of link (we use it for some in-topic navigation links). Note that the order in which the qualifiers appear is important. Follow the LoVeHate method (Link, Visited, Hover).
    Feel free to try it and use your own combinations (you might not want the expanded letter-spacing, for example). We also reversed the underline format from the default html (none for link and visited, underline for hover).
    A:link,
    A:visited {
    color: #0000CD;
    letter-spacing: 0.25pt;
    text-decoration: none;
    A:hover {
    color: #000080;
    letter-spacing: 0.25pt;
    text-decoration: underline;
    You would add the class=topic qualifier to your links for this class of link (a class=topic href="targettopic.htm")
    A.topic:link,
    A.topic:visited {
    color: #0000CD;
    font-size: 8pt;
    font-weight: normal;
    margin-left: 10px;
    margin-top: 0pt;
    margin-bottom: 0pt;
    letter-spacing: 0.25pt;
    text-decoration: none;
    A.topic:hover {
    color: #000080;
    font-size: 8pt;
    font-weight: normal;
    letter-spacing: 0.25pt;
    margin-top: 0pt;
    margin-bottom: 0pt;
    margin-left: 10px;
    text-decoration: underline;
    Good luck,
    Leon

  • Search results not returning file names correctly

    Have an onsite SharePoint Server 2010 Enterprise that contains a number of documents in a document library all containing the word "south" in their title. When a search is run with the keyword "south" all 3 files are shown in the results but only one displays
    the correct title. The other 2 display alternate text (in this case the company name). The links all 3 results are correct, however the title of results is incorrect for 2 out of the 3.
    I have duplicated these results using Office 365 and another on site SharePoint 2010 server.
    I have duplicated these results converting the documents to DOCX format under Word 2007 and Word 2010.
    Obviously, this is an issue with the files, however any ideas where to start looking to uncover where the SharePoint Server is pulling the information from? 
    In the end I need all 3 results to display the current name of the files it finds, not simply some random text with the files from 2 out of 3 of the results.
    Thanks
    Robert Crane
    www.ciaops.com 

    Could it be because of this?
    Pasted from here:
    http://bpostutor.com/post/Hidden-SharePoint-2010-Feature-Changes-Document-Titles-in-Search-Results.aspx
    Hidden SharePoint 2010 Feature Changes Document Titles in Search Results
    SharePoint 2010 has a interesting feature which you may not know about.  It's called Optimistic Title.  It's part of the Office Search engine within SharePoint.  What it does is determine a new, hopefully more relevant title for your documents
    to be displayed in your search results based on document properties or the actual contents of the document (i.e. Text within the file).  As you might expect this is closely tied to the Office document formats such as Word, PowerPoint, Excel, OneNote,
    and Visio.  Your end users may report that the titles that they see for search results differ greatly from the file name or the actual title of the document.  This is particularly evident with PowerPoint files where the name of the first slide
    is often used. The behavior is not entirely predictable.  Different results can be expected from Office 2007 and Office 2010 created files and even those created in earlier versions of Microsoft Office. 
    If you want to change this functionality you need to actually go and edit the registry on your Search role server(s) within your SharePoint farm, restart the osearch14 service and then do a full crawl.  The key you want to modify is the EnableOptimisticTitleOverride.
    The default setting is 1. Change it to 0 to disable the feature.

Maybe you are looking for

  • Error while trying to connect to network

    My powerbook will be 3 years old in about 2 weeks and it is now having problems connecting to wireless networks. It connects fine to the network at my parent's house, and they have a dsl router from verizon. However, a little while back, I noticed th

  • Inbound Processing Error ?

    I create an outbpund idoc as a file on a file port : FILEIN. FILEIN port is defined as a file port with Dir parameter set as : /tmp/ and FM parameter set as : EDI_PATH_CREATE_DATE_TIME . No parameters are maintained for Inbound file . I create outbou

  • Erro message when starting application

    I receive an error message when trying to start Flash Professional CC. It states "unable to start application correctly (0xc000007b). How do you resolve this?

  • Sets in Mdx Query

    HI, More Sets will give the performance or less sets will give the more performance.Could you please help me. with member [Measures].[Uniquenames] as [Date].[Calendar Year].currentmember.uniquename set s1 as filter(([Date].[Calendar Year].children),

  • How to find standby db location

    Hi all, How can i know that database has standby database(data guard)? without checking log_archive_dest_2 (or) remote. is there any view to find out. Thanks.