How to display search results in a table or in different columns

Hi
             How can i display search results in multiple columns or in a table so that the user can sort the results based on a particular property displayed in the search results.
Thanks in advance
Regards,
Vidya

Hello,
To display search results in a table, in different columns or more... you should modify SearchResultLayoutSet.
Create your own StandardSearchResultRenderer (exp My_StandardSearchResultRenderer) and add to SearchResultLayoutSet. Than change whatever you like to achive your aim.
Thank you.
Hope this helps.

Similar Messages

  • How to display search results in content area

    Hi
                 How can I display search results in the content area as seen in sdn.
    Thanks in advance.

    Hi,
    http://help.sap.com/saphelp_nw70/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm you find the relevant guidelines.
    You can filter the PCD object setting the Search Layout Set of your Searc Iview.
    In System Admin > System Configuration > Content Management > User Interface > Settings > Layout Set and duplicate the "SearchResultLayoutSet" layout set.
    Then you have to duplicate its Collection Renderer "StandardSearchResultRenderer".
    In its property "Resource Types to be Filtered" set as value "-http://sap.com/xmlns/pcd/app/iview".
    Then assign the new Collection Renderer to the new Layout Set and that's it!
    Now if yuor Search Iview uses this new Layout Set, when you search a PCD object the iviews will not be shown!
    (or)
    In the entry "Predefined Properties" of the search options set, you will need to enter "resourcetype(value=http://sap.com/xmlns/pcd/app/page/default)" if you want the search to be limited to resources defined as pages. Leave out /default if you dont want the end user to be able to change the filter.
    If you want the parameter reflected in the URL, you can find information about how to do it here: /message/280371#280371 [original link is broken]
    Check and try either ways.
    Regards,
    Ponneswari A.

  • How to display the results in order by based on search value

    Hi All,
    how to display the results in the below order.
    CREATE TABLE TEST( SONGID  NUMBER, TITLE   VARCHAR2(200))
    INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
    INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
    INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');     
    INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
    INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
    SELECT *FROM  TEST WHERE INSTR (TITLE, 'MADONNA') > 0
    output:
    SONGID     TITLE
    10     AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    11     CICCONE, MADONNA (CA)
    12     DALLIN, MADONNA LOUISE/STOCK
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    16     MIRWAIS AHMADZAI, MADONNA
    17     MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
    18     MADONNA (CA),CICCONE
    Expected output :
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    18     MADONNA (CA),CICCONE
    ...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
    Please let me know is it possible to display the results in that order.
    Regards,
    Rajasekhar

    This may be a bit more accurate:
    SQL> SELECT *
      2  FROM   TEST
      3  WHERE  INSTR (TITLE, 'MADONNA') > 0
      4  ORDER  BY INSTR (TITLE, 'MADONNA')
      5           ,TITLE
      6  ;
                  SONGID TITLE
                      13 MADONNA
                      14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
                      15 MADONNA (CA)
                      18 MADONNA (CA),CICCONE
                      12 DALLIN, MADONNA LOUISE/STOCK
                      11 CICCONE, MADONNA (CA)
                      17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
                      16 MIRWAIS AHMADZAI, MADONNA
                      10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)

  • Display search results on the same page

    I have a text box with a submit button to the left. Once the user enter the a number in the search field my select query executes.
    My question is how can i display the reult on the same page? I have been able to display results on the same page but my table headers are also displayed at the same time while user is trying to enter the item number.
    i tried using <c:if> but its not wokring, Any help?
    <%@ include file="/WEB-INF/jsp/include.jsp" %>
    <html>
    <head>
    <title>VDP QOH UPDATE</title>
    </head>
    <body>
    <spring:bind path="quantityOnHand">
      <FONT color="red">
        <B><c:out value="${status.errorMessage}"/></B>
      </FONT>
    </spring:bind>
    <P>
    <FORM name="quantityOnHandForm" method="POST" action = ''>
    <CENTER>
    <table BORDER=0  CELLSPACING=0 CELLPADDING=5 WIDTH=600>
        <tr>
              <td COLSPAN=2 BGCOLOR="#003366"><P ALIGN=CENTER><B><FONT COLOR="#FFFFFF" SIZE="2" FACE="Arial,Helvetica,Univers,Zurich BT">Query</FONT></B>
              </td>
         </tr>
         <tr>
              <td WIDTH=215 BGCOLOR="#336699"><P ALIGN=RIGHT>
                  <B>
                     <FONT COLOR="#FFFFFF" SIZE="-1" FACE="Arial,Helvetica,Univers,Zurich BT">
                        Item No:
                      </FONT>
                   </B>
              </td>
              <td ALIGN=LEFT><spring:bind path="quantityOnHand.itemNumber">
                      <input type="text" maxlength="30" size="10" name='<c:out value="${status.expression}"/>' value='<c:out value="${status.
                             value}"/>'>
        <td><font color="red"><c:out value="${status.errorMessage}" /></font>    </td>
           </spring:bind>
              </td>
         </tr>
        <tr>
            <td BGCOLOR="#336699" WIDTH=215> </td>
            <td>
                <input type="submit" name="Submit" value="Submit" >
           </td>
       </tr>
    </table>
    </center>
    </form>This is basically all of my search jsp code. Now i've added my other code after </form> to display the results.
    </form>
    <table BORDER=0  CELLSPACING=0 CELLPADDING=5 WIDTH=600>
        <tr>
              <td COLSPAN=2 BGCOLOR="#003366"><P ALIGN=CENTER><B><FONT COLOR="#FFFFFF" SIZE="2" FACE="Arial,Helvetica,Univers,Zurich BT">Quantity On Hand Search Results</FONT></B>
              </td>
         </tr>
         </table>              
    <c:choose>
    <c:when test="${empty qohInfo}">
             <div align="left" style="color:#336699;"><b>No records Found.<br><br></b></div>
    </c:when>
    <c:otherwise>
         <table width="602" height="92">
              <tr>   
                   <th ALIGN=CENTER BGCOLOR="#336699" width="110" >
                       <B>
                          <FONT COLOR="#FFFFFF" SIZE="-1" FACE="Arial,Helvetica,Univers,Zurich BT">Item Number</FONT>
                       </B>
                   </th>
                   <th ALIGN=CENTER BGCOLOR="#336699" width="115">
                       <B>
                          <FONT COLOR="#FFFFFF" SIZE="-1" FACE="Arial,Helvetica,Univers,Zurich BT">Vendor Id </FONT>
                       </B>
                   </th>
                   <th ALIGN=CENTER BGCOLOR="#336699" width="120">
                       <B>
                          <FONT COLOR="#FFFFFF" SIZE="-1" FACE="Arial,Helvetica,Univers,Zurich BT"> Inventory Date</FONT>
                       </B>
                   </th>
                   <th ALIGN=CENTER BGCOLOR="#336699" width="130" >
                       <B>
                          <FONT COLOR="#FFFFFF" SIZE="-1" FACE="Arial,Helvetica,Univers,Zurich BT">Update Date Time </FONT>
                       </B>
                   </th>
                   <th ALIGN=CENTER BGCOLOR="#336699" width="100" >
                       <B>
                          <FONT COLOR="#FFFFFF" SIZE="-1" FACE="Arial,Helvetica,Univers,Zurich BT">Quantity</FONT>
                       </B>
                   </th>
              </tr>
              <c:forEach var="qohInfo" items="${qohInfo}" varStatus="loop">
        <tr BGCOLOR="#99CCFF">
          <TD align="center"><c:out value="${qohInfo.itemNumber}"/></TD>
          <TD align="center"><c:out value="${qohInfo.vendorId}"/></TD>
          <TD align="center"><c:out value="${qohInfo.inventoryDate}"/></TD>
          <TD align="center"><c:out value="${qohInfo.updateDateTime}"/></TD>
          <TD align="center"><c:out value="${qohInfo.quantity}"/></TD>
        </TR>
      </c:forEach>
      </table>
      </c:otherwise>
      </c:choose>As you can see that the table headers are always shown but i would like to hide the table headers and everything until and unles user clicks on submit button. Any help is appreciated.

    Thanks balusc for your reply. I was curious how would you have used the c:if statement to display the table and hide the table if a user have not clicked the button.
    I wanted to stay away from javasscript

  • How to display the result of  excutions(insert/update/delete rows)

    Hello.
    Does anyone know how to display the result of scenario executions just like a scenario executions tab of package (insert/update/delete rows) in other screen (in the intergated operating platform for operators using http)
    In additional, I also like to show the hierarchy of scenario in the same view.
    So, I need the query using the information of the ODI repository.
    If it is possible, I also like to have the decription of the tables in the ODI repository.
    Can anyone tell me how can I get the information of the counts of excution?
    Thanks in advance.

    Hi,
    You can get that information from the API getPrevStepLog. Does it work for you?
    Download the last API reference manual from:
    http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/1013_support.html#docs

  • How to display records into a non table base block..

    Hi,
    Can anybody help me how to display records into a non table base block....
    Find below is my coding but it only display the last record in the first line
    in the block.
    PROCEDURE CREATE_CARTON_QUESTION IS
    CURSOR car_c IS
    select /*+ rule */ question_id, question_description
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
    v_found VARCHAR2(10);
    v_status boolean;
    v_error      varchar2(150);
    v_count number;
    car_r car_c%rowtype;
    begin
    begin
    select count(*) into v_count
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
         exception
         when no_data_found then
         v_count := 0;
    end;
    if v_count > 0 then
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id     := car_r.question_id;
    :la_carton.carton_question_answer     := 'N';
    :la_carton.carton_error_details     := null;
    :la_carton.attribute2          := car_r.question_description;
    end loop;
    end if;
    end;
    Thanks in advance.
    Regards,
    Jun

    Hi SNatapov,
    Thanks for you reply but still I get this error...
    FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
    Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
    Find below is the code....
    begin
    go_block('la_carton');
    first_record;
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id := car_r.question_id;
    :la_carton.carton_question_answer := 'N';
    :la_carton.carton_error_details := null;
    :la_carton.attribute2 := car_r.question_description;
    next_record;
    end loop;
    end;
    Hoping you can help me this problem...
    Thanks in advance.
    Regards,
    Jun

  • Altavista will not display search results

    altavista us will not display search results. altavista canada works fine. On us site results will display in no style page but not in basic page style. The page comes up blank. This may have been caused by delta search. I think I have rid my computer of delta? Reloaded firefox. I use norton 360 and have run registry clean up and virus scans. Also cleaned explorer. In explorer the u.s. altavista works ok that is why I think it something to do with firefox and delta search showed up at the same time unwanted and forced a change on my home page. Have cleared computer of what delta files I could find my have something in the registry but I would not know what to look for or to do with. I am running xp

    In a round about way you solved my problem cor-el ! At the end of standard diagnostic there was mention of malware so I ran malwarebytes before running profile manager. malwarebytes found 21 items some in the registry. deleted these items and tried altavista us again and to my surprise it is working ok now.I thought norton 360 would catch such things but I guess it doesn't ! will keep and run a malware program from now on. thank you for your help.

  • How to display query result in seperated page.

    How to display query result in seperated page, if the results are very big (more than 5000 records) and there are so many concurrent users (about 500 - 1000 users).
    Are there any solutions or frameworks?
    Plese help me .........
    thanks,
    --bhasin

    Hi,
    How to display query result in seperated page?I think RowSet will be the better technology to use in this
    situation.For more information on this please visit http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html
    which explains in detail about RowSets.
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support/

  • Firefox wont display search results on certain engines (Google, yahoo). IE works fine and Bing also displays

    For the past 2 days, Firefox wont display search results on Google or Yahoo. Tried Bing it worked fine, tried Internet Explorer and it worked fine. All that gets displayed is a blank page, no errors or anything like that.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How to configure search results web part to display results only after a query is generated from user?

    Hi All,
    I am crawling documents from a file server. I created a new content source and crawled the documents. All documents are crawled successfully.
    Then I went to my enterprise search center site collection and created a new result source. I have added the query to use above content source.
    After that, on a page I am trying to configure the search results web part to display documents using this result source. Now the problem is:
    It displays all the documents that are crawled without searching for anything. I mean first it should not display any results. If a user searches for something , then according to that search it should display results.
    Any idea how to do this in the web part? I am using SharePoint 2013 on premise enterprise edition. No code. Totally OOTB.

    Hi Mohan,
    What did you use for the Query text in the result source?
    I could reproduce this issue when I used Query text like: {searchTerms} Path:”http://sps2k13sp/sites/First/Shared%20Documents”
    Then I changed the Query to
    {?{searchTerms}
    Path:"http://sps2k13sp/sites/First/Shared%20Documents"}
    , then Search result web part didn’t return results without searching.
    So , check your result source, and use the Query like the above(adding "{?...}").
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How do I display search results in a new window?

    Our current search feature (http://mainedreamvacation.businesscatalyst.com/business-search) displays the search results in the same page. When someone clicks to see the details page, the goes "back" the browser displays an alert asking the user if they want to re-submit the form.
    Is there a way for the search results to display in a new window? My hope is that by loading results into a new window, a user could click to see the detail, then return without the alert message.
    I'm open to simply suppressing the alert message, but I don't think that's possible.
    I should point out that this is NOT a site search. Also, I have tried  {module_webappsresults,,_blank} without success.
    Thanks!

    Hi Tim,
    The approach would be similar to customizing this for normal site search. 
    You'll need to locate the page where you inserted the web app search access the html and locate the pageID in the form action.  Use the same method found in the site search to apply the specific page.
    - http://helpx.adobe.com/business-catalyst/partner/add-search-form.html> Point to the results page
    **Ensure you please the {module_webappsresults} on the custom page to have the content display as well. 
    Kind regards,
    -Sidney

  • How can I configure Robohelp to display search results in DHTML drop-down hotspots?

    Hello. We designed our online help using drop-down hotspots (this look is much cleaner to us). Problem is, when a user searches for something and clicks the Search results topic page  to find the information, the topic page displays, but does not expand the drop-down hotspot to show the exact location of the searched item. Is there a JavaScript or some other solution to get the DHTML hotspot to expand, showing the information? Thanks.

    Step 5: Add the code from the supplied text file to the top whtopic.js.
    Do I add the code at the very beginning, before   //   WebHelp 5.10.005  ?
    I'm asking because I followed the steps and it did not work.
    FWIW, I am also using the Twisties function in Robohelp (via the drop-down hotspot style file).
    Thanks.

  • Duck Duck go Browser doesn't display search results, how to fix it?

    The same search using other browsers displays the results. But i want to use Duck Duck Go

    Did you already try safe mode or clear the recent history?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    *[http://mzl.la/NZyoI8 Clear recent history]
    Also try reset Firefox
    *[http://mzl.la/MnSTZB Reset Firefox]

  • Displaying large result sets in Table View u0096 request for patterns

    When providing a table of results from a large data set from SAP, care needs to be taken in order to not tax the R/3 database or the R/3 and WAS application servers.  Additionally, in terms of performance, results need to be displayed quickly in order to provide sub-second response times to users.
    This post is my thoughts on how to do this based on my findings that the Table UI element cannot send an event to retrieve more data when paging down through data in the table (hopefully a future feature of the Table UI Element).
    Approach:
    For data retrieval, we need to have an RFC with search parameters that retrieves a maximum number of records (say 200) and a flag whether 200 results were returned. 
    In terms of display, we use a table UI Element, and bind the result set to the table.
    For sorting, when they sort by a column, if we have less than the maximum search results, we sort the result set we already have (no need to go to SAP), but otherwise the RFC also needs to have sort information as parameters so that sorting can take place during the database retrieval.  We sort it during the SQL select so that we stop as soon as we hit 200 records.
    For filtering, again, if less than 200 results, we just filter the results internally, otherwise, we need to go to SAP, and the RFC needs to have this parameterized also.
    If the requirement is that the user must look at more than 200 results, we need to have a button on the screen to fetch the next 200 results.  This implies that the RFC will also need to have a start point to return results from.  Similarly, a previous 200 results button would need to be enabled once they move beyond the initial result set.
    Limitations of this are:
    1.     We need to use custom RFC function as BAPI’s don’t generally provide this type of sorting and limiting of data.
    2.     Functions need to directly access tables in order to do sorting at the database level (to reduce memory consumption).
    3.     It’s not a great interface to add buttons to “Get next/previous set of 200”.
    4.     Obviously, based on where you are getting the data from, it may be better to load the data completely into an internal table in SAP, and do sorting and filtering on this, rather than use the database to do it.
    Does anyone have a proven pattern for doing this or any improvements to the above design?  I’m sure SAP-CRM must have to do this, or did they just go with a BSP view when searching for customers?
    Note – I noticed there is a pattern for search results in some documentation, but it does not exist in the sneak preview edition of developer studio.  Has anyone had in exposure to this?
    Update - I'm currently investigating whether we can create a new value node and use a supply function to fill the data.  It may be that when we bind this to the table UI element, that it will call this incrementally as it requires more data and hence could be a better solution.

    Hi Matt,
    i'm afraid, the supplyFunction will not help you to get out of this, because it's only called, if the node is invalid or gets invalidated again. The number of elements a node contains defines the number of elements the table uses for the determination of the overall number of table rows. Something quite similar to what you want does already exist in the WD runtime for internal usage. As you've surely noticed, only "visibleRowCount" elements are initially transferred to the client. If you scroll down one or multiple lines, the following rows are internally transferred on demand. But this doesn't help you really, since:
    1. You don't get this event at all and
    2. Even if you would get the event, since the number of node elements determines the table's overall rows number, the event would never request to load elements with an index greater than number of node elements - 1.
    You can mimic the desired behaviour by hiding the table footer and creating your own buttons for pagination and scrolling.
    Assume you have 10 displayed rows and 200 overall rows, What you need to be able to implement the desired behaviour is:
    1. A context attribute "maxNumberOfExpectedRows" type int, which you would set to 200.
    2. A context attribute "visibleRowCount" type int, which you would set to 10 and bind to table's visibleRowCount property.
    3. A context attribute "firstVisibleRow" type int, which you would set to 0 and bind to table's firstVisibleRow property.
    4. The actions PageUp, PageDown, RowUp, RowDown, FirstRow and LastRow, which are used for scrolling and the corresponding buttons.
    The action handlers do the following:
    PageUp: firstVisibleRow -= visibleRowCount (must be >=0 of course)
    PageDown: firstVisibleRow += visibleRowCount (first + visible must be < maxNumberOfExpectedRows)
    RowDown/Up: firstVisibleRow++/-- with the same restrictions as in page "mode"
    FirstRow/LastRow is easy, isn't it?
    Since you know, which sections of elements has already been "loaded" into the dataSource-node, you can fill the necessary sections on demand, when the corresponding action is triggered.
    For example, if you initially display elements 0..9 and goto last row, you load from maxNumberOfExpected (200) - visibleRows (10) entries, so you would request entries 190 to 199 from the backend.
    A drawback is, that the BAPIs/RFCs still have to be capable to process such "section selecting".
    Best regards,
    Stefan
    PS: And this is meant as a workaround and does not really replace your pattern request.

  • How to pass query result to HTML table?

    Hi,
      i want to get the query result in HTMl table instead of Display Grid. how to do it? i searched in help, it suggests use icommand to do this. but i dont know how to pass the select query result to HTML table.. please help me.
    -senthil

    Hi Senthil,
    You can create an icommand query. You can then use the icommand retrieval methods to capture and manipulate the query data.
    (http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/iCom
    mand_Reference.htm)
    Basically what we did was, use the getColumnCount() and getRowCount() methods, once you have these two numbers you can set two for loops and use String getValue(int ColID, int RowID) , within the for loops you can generate the inner html content and write the values either in a html table or html form (which is what we did). This seems to work well, I'm still playing around with it and may post this approach on sdn by end of this week.
    Mahwish

Maybe you are looking for

  • HDMI output not working after 1.0.8.6067 update on sharp LCD TV's

    Have three TV's two of which are Sharps Aquos and the other is a Samsung. After updating to 1.0.8.6067 the Playbook cannot detect the two Sharps(each different model #'s) . I have three different cables that worked fine before the update and all thre

  • HP laserjet 1000 windows 7

    please can you help me to give a software to instal laserjet 1000 on Windows 7. thank you

  • HP Officejet Pro L7780 All-in-one not scanning with Yosemite

    I have searched for a workaround or fix to the scanning problem I'm having. I just bought a brand new Macbook Pro Retina and have loaded the latest printer drivers for the HP Officejet Pro L7780. The printer works ok, but I can't get the scanner to w

  • Password Issue

    Oracle 9i Standards on Standalone with Win 2K Op. System. When created database, created/changed ID and password but system doesn't recognize. Give Ora -01017 Error. Is there a specific file to look at and fix. My SQLNET.ORA file is fine. Steve

  • SCCM Query/Report to List Computers Without Software

     The report below shows the computers WITHOUT McAfee VirusScan Enterprise software and version 8.8.02004 in the Add and Remove Program. The report has three column: NetBIOS Name, User Domain and User Name. I would like to add a fourth column that s