Jump directly to search-result details if only one (1) hit

I have a report where the user can limit the number of records shown via a couple of text fields. (do a search so to speak)
In the report the user can click a link and see details for the given record.
My customer would like the users to be taken directly to the details if the users search results in only one record.
Has anyone done something similar ?
best regards
Christian

This would be a way to do it:
Say you have three pages:
Page 1 - Search page (where you enter your search criteria and click a "Search" button)
Page 2 - Search results page (lists multiple found records and has drill-down links to view details of any particular record)
Page 3 - Record details page (shows details for just one record. This would be the page you are taken to when you drill down into a particular record from Page 2.)
On Page 1 have an After Submit PL/SQL Process looking something like this:
DECLARE
recordCount number;
uniqueRecordId number;
BEGIN
select count(*) into recordCount from your_table where some_column = :P1_YOUR_SEARCH_CRITERIA_ITEM and some_other_column = :P1_YOUR_SECOND_SEARCH_CRITERIA_ITEM);
if recordCount = 1 then
select ID into uniqueRecordId from your_table where some_column = :P1_YOUR_SEARCH_CRITERIA_ITEM and some_other_column = :P1_YOUR_SECOND_SEARCH_CRITERIA_ITEM;
owa_util.redirect_url('f?p='||:APP_ID||':3:'||:APP_SESSION||'::::P3_ID:'||uniqueRecordId);
else
owa_util.redirect_url('f?p='||:APP_ID||':2:'||:APP_SESSION);
end if;
END;
So if only one record is matched then you are automatically taken to Page 3 where the details of this one record can be shown (and you know which record to display as its ID has been passed in :P3_ID.) If more than one record (or zero records) are returned then you are taken to the search results page (Page 2) where your search results can be displayed as normal.
Hope that's of some help,
Andrew

Similar Messages

  • Configure search results to display only this site

    HI
    when i search anything in my publishing site the search results display from all sites in sharepoint farm.
    how i configure search results to display only this site:
    i found there is no option in sitesettings>searcscopes 
    and i created a custom search results page.
    adil

    Hi adil,
    For your issue, you can go to Site Settings -> Site Collection Administration -> Search Settings -> set  "Site Collection Search Dropdown Mode" to "Show scopes dropdown":
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Search Results Details

    I've been considering migrating from Windows to Mac for the past year and have had the chance to test drive my girlfriend's machine, and my mom's also.
    So far I find limitations that really seem discouraging and I'm wondering if the latest OS has fixed the limitation of search results in Finder: Can you display the file size, path, and other attributes in the search results?
    Frankly I was stunned to find that I could search for say, files over 32MB but then not see their location in the Finder search results list.
    Windows has had this ability as far back as I can remember, v3.1?

    file path was always available in search results. it's displayed at the bottom. the number of other attributes you can list in search results was increased in snow leopard although it's not huge. switch to column or coverflow flow in a finder search window. then go to view->menu->show view options and check the boxes for columns you want to see. for some reason the size column is listed but is grayed out. that looks to be a bug. the following workaround lets you add the size column to the search results
    http://www.macosxhints.com/article.php?story=2009083113534843

  • In WIndows 8, Google search results for Firefox (only) appear in a narrow column on the left of the window.

    Firefox (25.0.1) and Google worked well together until 11/26/2013 when a guest user searched on Google. Google search still works well on IE and Chrome. The problem is only on Firefox and only with Google. Bing, Ask, Yahoo, Wikipedia all perform and display as expected. No recent installs or upgrades. No other search engine returns results in a narrow column on the left. It is as if the guest user dragged the results to the left column and that display became the default. I can not restore the prior display. I have restarted Windows. I have reinstalled Firefox, but that has not fixed the problem. I have disabled all add-ons (I do not have any) and run in safe mode, The problem still exists. Appearance is Default 25.0.1

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Opening in the sidebar is the default for bookmarks that are created via a link or button on a website.
    You can check the Properties of a bookmark via the right-click context menu in the sidebar (Ctrl+B; Command+B on Mac).<br />
    In the Bookmarks Manager (Bookmarks > Show All Bookmarks) you can click the More button in the Details pane at the bottom right.<br />
    Make sure that "Load this bookmark in the sidebar" is not selected.
    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Opportunity - Sales Prospect: List search results if more than one match

    Hi CRM Experts,
    in the Opportunity our users have to enter a Sales Prospect. PC-UI allows to enter directly a Name like "Wolf". But when you press enter after this step the first match is filled into this field. But this can be the wrong Sales Prospect. I want to have a functionality that when the Name is entered and there are more than one match a list of the results should be displayed. Then the user can choose the correct partner.
    Regards
    Gregor

    Hi Gregor
       Yes,you are right actually the pop up window will appear with sales employee and other partner if necessary and suggested by the system.I hope you would have gone thru acquistion  from there opportunities and then you would createand clicked on sales methodology(Scroll down if necessary).Actually i dont have access now to the system i will defintely check it out and let you know ASAP.
    Regards

  • Copy value from first detail record to next detail record only one field is

    Hi all
    i have a detail form with this table
    CREATE TABLE customer_detail (
      cust_id NUMBER,
      aDDRESS_type VARCHAR2(20),
      contact_name VARCHAR2(100),
      mobile_no VARCHAR2(20),
      delivery_address VARCHAR2(300),
      off_contact_no VARCHAR2(20),
      email_id VARCHAR2(50),
      city VARCHAR2(50),
      pin_code VARCHAR2(50),
      country VARCHAR2(30),
      contact_name_1 varchar2(100),
      contact_name_2 varchar2(100),
      MOBILE_NO_1 VARCHAR2(20),
      MOBILE_NO_2 VARCHAR2(20),
      OFF_CONTACT_NO_1  VARCHAR2(20),
      OFF_CONTACT_NO_2  VARCHAR2(20),
      EMAIL_ID_1 VARCHAR2(50),
      EMAIL_ID_2 VARCHAR2(50)
       );i enter a record in this table through form and the addess_type = 'INVOIVE ADDRESS'
    i want when i save this one record and i want to save same to same record in this table the addres_type will change
    address_type='DELIVERY_TYPE' as a next record
    PLease Guide
    Thanks And Regards
    Vikas Singhal
    Edited by: vikas singhal on Sep 17, 2009 12:09 PM

    Hi!
    May there is already a delivery address for that customer in the table, so it is a good choice
    to just insert a new record 'DELIVERY ADDRESS' if there is no one.
    May try a pre-insert trigger:
    begin
    if
      :address_type = 'INVOICE ADDRESS'
    then
      insert into customer_detail
      select :cust_id, 'DELIVERY ADDRESS', :contact_name, :mobile_no, :delivery_address,
             :off_contact_no, :email_id, :city, :pin_code, :country, :contact_name_1,
             :contact_name_2, :MOBILE_NO_1, :MOBILE_NO_2, :OFF_CONTACT_NO_1, :OFF_CONTACT_NO_2,
             :EMAIL_ID_1, :EMAIL_ID_2
      from dual
      where not exists ( select 1 from customer_detail
                         where cust_id = :cust_id
                         and   address_type = 'DELIVERY ADDRESS' );
    end if;
    end;You could do the same, if you insert a new 'DELIVERY ADDRESS' and there is no 'INVOICE ADDRESS'.
    Regards

  • Saved search not navigating for only one user

    Hi Everyone,
    I have a saved search that navigates for all users except one. Furthermore, on that same search screen if I use a different object type, do a search and save it, the saved search works for that user. So it seems like it is related to the object type I'm searching for.
    since it is working for some users, I don't think it is related to some IP or OP settings.
    any idea what could cause this issue?
    Thanks in advance,
    Ralph

    It seems someone has set the user policy at webapplication level for that user.Check the similar thread below
    http://social.msdn.microsoft.com/Forums/es-ES/18b4f019-093d-45f6-92b7-8350d13bd663/let-us-know-why-you-need-access-to-this-site-why-do-i-see-this-error-and-who-will-give-access?forum=sharepointgeneral
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • I searched results for my topic, one discussion was provided. I am no closer to downloading installer assistant  than I was 15 min ago.

    I have been trying to download a trial version of Photoshop elements, but can't get by the Installer Asisstant log in.  I assume they are asking for my Adobe ID.  My problem began when I bought an iMac and could not use the discs to load the programs.  Instead I have to download  both elements land premiere, and I assume I eventually get ownership of the programs. I changed my password yesterday and wondering if that may be causing the problem.

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Search result in CRM_KW

    Hi,
    we save documents on the content server from the document tab on BP. In transaction CRM_KW the documents can be search for by using attributes like keywords. The problem is that the search result in CRM_KW only presents 100 hits. Does anyone know where this is controlled and is there a way to get access to all documents matching a relevant key word.
    NB! We use CRM 4.0
    Best regards
    Annette

    In class CL_KWUI_QUERY, method DISPLAY -> Parameter MAX_NUMBER_OF_HITS

  • Custom Search Results web part: show only sites wherein the current user has access

    Hi,
    I'm trying to create a custom Search Box and Search Results web part in one of my web application. The search result should show only sites wherein the current user only has an access. Do you have an idea how to implement this? Thanks. :)
    Regards,
    Napster

    Hi Napster,
    From my experience, we can only search the result which we have view permission at least.
    Please provide more information about your requirement if there is misunderstanding.
    More information about search result web part:
    http://technet.microsoft.com/en-in/library/gg549987(v=office.15).aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • MSS Employee Search results

    Hi All,
            Just wondering if any one knew if the standard delivered MSS > Team > General Information > Employee Search (a.k.a OADP) shows separated/withdrawn/terminated employees as part of search results. I just separated a couple of employees in our development environment with PA40 only to find out that they are still showing up under direct repots.
            If this is indeed a  standard behavior is there any way to filter the search results to display only active employees without having to customize OADP configuration?
    Thanks,
    Winston

    you can do so in ESS STAT2 settings in table T77S0
    ie
    SAP Customizing Implementation Guide > Personnel Management > Employee
    Self-Service > Service-Specific Settings > Address Book > Who's Who >
    Who's Who (ESS): Refine Employee Search
    If you wanted to restrict the search to all active employees, you would
    need the next entry on table T77S0:  ESS STAT2 3
    You can get further information about Organization Chart iview on the
    next link:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/69acffed1b30f3e1000000
    0a11466f/frameset.htm
    . The Function
    module      HRXSS_ORG_GET_ORGCHAR intern calls Function module
         EVAL_INITIA which filters and select the per.nos and send to the
    front end; and same list is being displayed ; and also the search query
    /SAPQUERY/HR_XX_PA_ESS also plays an important role.

  • Trying to search on Google, or to access a search result, often crashes my Firefox. This has gone on for months. When will you fix it?

    The report tab says my OS is Windows NT, but it's actually XP Home. (Yes, that's how old my computer is -- and that's why I'm looking for a solution other than just trying to see how updated a version of Firefox the computer can handle.)
    The problem doesn't happen every time I try to search Google (or every time I succeed in getting to a page of search results and try accessing one of them). But it happens quite a lot, and often multiple times in succession. And when I try to use Crash Reporter to tell you, I get one of two responses:
    (1) the standard autobot-reply suggesting an upgrade and this path; or, more often,
    (2) nothing.
    I don't want to abandon you -- and it would be hard to replace the computer at the moment. So what (to coin a phrase) can Mozilla do for me?
    [UPDATE: The troubleshooter program won't install -- says it's not compatible with my old version of Firefox (3.6.20, says the About option in the Help menu). And the "show details" link at the bottom of this page won't reveal your "educated guesses about [my] current browser and operating system", so I can't do more to correct them -- sorry.]

    Hmm . . . I think maybe the CPU is okay, but I would appreciate any time and effort you folks could spare to confirm my work.
    Wikipedia lists a "3300+" model twice in its article on Sempron processors. One is a "Socket A (Socket 462)" model named Barton and with a listed 130ns speed. The other is a "Socket 754" model named Palermo with a listed 90ns speed. The latter sounded familiar, but my left hand has worn off anything readable from the sticker next to the "mouse area" so I couldn't confirm it that way.
    Checking the properties of the CPU (through my hardware configuration) revealed an interesting ID string which suggested my CPU was "family 15 model 44". And re-searching for that (via Yahoo, since I couldn't risk another Google crash) brought me to a late-2009 AMD Processors forum entry where some other expert answered a question by identifying that family and model as "AMD Sempron64 socket 754, e.g Sempron 2600+, Sempron 2800+, including all latest core stepping versions of desktop model Semprons, socket 754."
    If that's correct, and I've followed along the road properly, then my CPU is also in that family, and in that socket -- which would mean it '''was''' one of the processors built to work with SSE2. And that, in turn, would mean it should be able to run the v21 of Firefox you mention -- right?
    I don't know how much slower or faster v21 may be -- and I won't want to dump even the Mozilla-abandoned v3.6.20 until I see what if any side-effects there may be. But maybe there's an end in sight.
    (If you have any hints for me on this score, I would appreciate them. Likewise if you have any idea why it took months of Reporting Crashes before I got any response at all, even from the autobot. But most of all, I would greatly appreciate your help in getting over what may be the final obstacle to finding out if it's possible for me and my old PC to run v21 . . . and in finding out what choices I have if that '''''doesn't''''' work.)

  • When I enter a search in the Mozilla Start Page and press enter the browser does nothing. It doesn't bring in any search results. I use Windows Vista pack2

    I just upgraded Firefox for windows to version 21.0
    After upgrading, when I enter a subject to search in the search box (in the middle of the page) of the Mozilla Start page and press enter nothing happens. It doesn't bring in any search results.
    The only way to navigate using the browser is to enter the website name in the address box at the top of the page and press enter. I'm running the browser for Windows Vista - 32 bits.
    I tried re-installing firefox and I got the same result. I also tried re-booting after installation and it still behaves the same way.
    Please help,
    Thank you,
    Hektor

    he man check here
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Only one audio out for a speaker set that requires 3 ??

    Hi,
    I just got my splendid MacBook pro today and I put my PC for sale simultaneously.
    Switching to Mac was a charm - I'll save the details - but only one thing is still bugging me :
    I've got a Logitech Z-640 speaker set. The center speaker is the one to connect to the computer (or audio card whatsoever).
    Well, it has three plugs, since it's a surround speaker set.
    But, my MacBook only has one (the earphone plug indeed).
    So if I plug the "green" plug, everything seems to work.
    I unpress the "matrix" button on the center speaker and they all work, including the subwoofer.
    On my PC I used to have a small application that would "test" them (make each speaker play one by one, so you could tell that they are all controlled independently and therefore that surround sound is enabled).
    I couldn't find anything like that on OSX - is there a feature like that ?
    And do you think I'll still be getting surround sound effects even though I could only connect one of the three plugs ?
    Any other suggestions ?
    And is there some kind of devide, like a USB one, that would let me connect the three plugs ? Is it worth it ?
    THANK YOU FOR YOUR ANSWERS !!!

    Congratulations on your new mac. It is a great machine.
    First of all, the MacBook Pro actually has 2 audio outputs -- they are just collocated. One is the analog headphone jack and the other is a mini toslink digital optical port.
    The "green" plug you refer to is just a stereo analog input. The "matrix" feature of your speaker system is just simulating surround sound. If this is OK with you and you don't want or need true surround sound that is just fine.
    There is equipment available that can separate and convert the digital optical output signal into discrete analog channels, but this equipment is highly specialized professional gear. You're not going to spend $1000 to hook up a $50 speaker set.
    If you want true surround sound, you should upgrade to a speaker system that will accept a digital optical input, normally referred to as toslink or s/pdif.

  • Directly launch the object if only one result is found (SEARCH_AUTONAV )

    Hi All
    We are on CRM 7.0 EP1, and I read an article in CRMEXPERT  that one of the improvements in CRM 7.0  would be to jump to the object directly if only one result is found. For example, if I know the sales order number I can open it directly by putting the SO number in search field 'Sales Order' and instead of giving me the result list, the system will directly open the sales order.
    The parameter to used for this is SEARCH_AUTONAV in function profile.But when I test this it is not working.I did not found any documentation about this parameter on help.sap or internet.
    Any idea about this parameter and how to use it?
    Or is there anyway to achieve what I am looking for?
    Thanks in advance for your help
    Swapnil

    Hello Swapnil,
    I'm not sure that SEARCH_AUTONAV is a desired parameter. But there is an improvement request which SAP has introduced by the [Note 1602520 - Improvement requests: Central Edit Button, One hit display|https://service.sap.com/sap/support/notes/1602520].
    Also for tehcnical basis please refer to [Note 1548131 - CC1: Automatic navigation to search result (technical basis)|https://service.sap.com/sap/support/notes/1548131].
    In general it's all about ONE_HIT_DIRECT_DISPL parameter.

Maybe you are looking for