OA Query Region shows previous search results when moving between pages

Hello All,
I have a custom OA Page which has a query region based on a LOV for searching device names. The problem I am facing is once device name is searched and I go to another page through the quick links and come back to same Search Device page, it shows the previous searched results. I am not retaining AM for any page navigation.
Things I have already tried :
1 . I have tried refreshing VO by using clearcache and reset methods on VO.
2. Get the Go button from the query region in ProcessFormRequest and on Go button click I use forwardImmediatelyToCurrentPage. And in Process Request method I am querying the results manually when Go button is clicked. Otherwise I am manually making the where clause condition 1=2 and ensuring that the VO does not return any rows.
But still I am not able to get rid of the issue.
The code used is pasted below for your reference. It is urgent. Can you please provide any pointers.
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
try
VpaAdminAMImpl am = (VpaAdminAMImpl)pageContext.getApplicationModule(webBean);
TkvpaDeviceSearchVOImpl deviceAll = am.getTkvpaDeviceSearchVO1();
deviceAll.clearCache();
deviceAll.reset();
deviceAll.setWhereClause("1=2");
deviceAll.setWhereClauseParams(null);
String query = deviceAll.getQuery();
System.out.println("getSearchResult query :="+query);
deviceAll.executeQuery();
OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("region1");
String goAction = queryBean.getGoButtonName();
if(pageContext.getParameter(goAction) != null)
getSearchResult(am, pageContext, webBean);
catch(Exception ex)
throwException("SearchDeviceCO.processRequest",ex);
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String action = pageContext.getParameter(EVENT_PARAM);
OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("region1");
String Go = queryBean.getGoButtonName();
System.out.println(pageContext.getParameter(Go));
if(pageContext.getParameter(Go) != null)
pageContext.forwardImmediatelyToCurrentPage(null,false,"N");
public void getSearchResult(VpaAdminAMImpl am, OAPageContext pageContext, OAWebBean webBean)
try
String device = pageContext.getParameter("deviceSearch");
StringBuffer sb = new StringBuffer();
if(device != null && device != "")
sb.append(" DEVICE_NAME = '");
sb.append(device);
sb.append("'");
String sql = sb.toString();
TkvpaDeviceSearchVOImpl deviceAll = am.getTkvpaDeviceSearchVO1();
deviceAll.setWhereClause(sql);
deviceAll.setWhereClauseParams(null);
String query = deviceAll.getQuery();
System.out.println("getSearchResult query :="+query);
deviceAll.executeQuery();
}catch(Exception e)
e.printStackTrace();
Thanks in Advance,
Abhishek Mishra

Hi Anand,
The getSearchResult method also does the same thing. I have also tried to remove the dependency on getSearchResult and wrote the same code in ProcessRequest() but still it does not solve the problem.
In fact, I have ensured that the VO does not contain any records and have checked these by using SOPs and debug in JDEV. The interesting point is the VO does not have any records but still the previous search data and search criteria is shown when we navigate to the page. Printed the query just before performing execute query and that query does not return any records. Also tried printing something if there are any records in the VO by using vo.hasNext().
Data gets stored somewhere and it is shown when the page is navigated from other page. FYI, this page is accessed from quick links and there are other pages also in the quick links and when we navigate between these pages we get to see the previous search results. Tried methods clearCache(), reset() on VOs but still unsuccessful.
Not even that I thought that the VO may be corrupted in some sense so I created a new VO instance in the AM and then used newly created VO instance in the query region. But still no luck.
Any pointers will be appreciated.
Thanks in Advance,
Abhishek

Similar Messages

  • Stop Firefox from reverting back to Google Search Results when opening a page from results list

    When I click on one of the results from a Google search, I have it open the page in a new window. The page opens in the new window just fine, but instead of letting me view the page in the new window, Firefox takes me back to the Google Search results page. I am able to click on the new window and view the page that I chose, but it gets old being sent back to the search results each time I click on one of them and attempt to view it.
    This happens on my work PC, home laptop, and my desktop at home as well. I have different versions running on each machine, and home laptop has the latest version of Firefox. I have searched the web and cannot find anyone having this same problem, much less a resolution, so I will ask here.
    I hope this makes sense, if more info is needed please let me know.
    Thanks to anyone that can help.

    One reason for this can be if the new window contains Flash media, but Flash hasn't been used for several minutes, the Adobe protected mode feature changes the order of the windows. This is a bug that Adobe has yet to fix. This thread describes the problem in more details and lists the known workarounds: [https://support.mozilla.org/questions/955659 Opening New Windows and Shockwave Flash].
    If you rule out the Flash issue, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • SWF flickers/flashes when moving between pages

    IDCS4 export to SWF with page transitions. Not sure if anyone else is having this problem, but when I navigate between pages, the interactive items/buttons seem to flash or flicker once after each transition.
    Does anyone know how to resolve? I'm building a small booklet in IDCS4. Nothing fancy about it, just a few pages that I want the viewer to be able to navigate through. The flickering is driving me nuts and I can't seem to figure out why it's happening. I've tried just about every setting, searched the net and have found nothing on the subject.
    Any help would be greatly appreciated. Thanks in advance!
    Mark

    Happens with all transitions. Seems to be a bug and I've sent my notes to Adobe. Other posting can be found
    here.
    Hopefully they'll fix it in the future, 'cause it's a great feature.

  • ADF Query not showing correct search results.

    Hi,
    I am using normal ADF af:query to search data using a VO Criteria.
    We have modified the getter of searched column in VORowImpl java class to return values based on NLSID search from cache.
    Logic in getter:
    If for a column_name nlsid is present then show data as the value of nlsid.
    Suppose Initially:
    column_name = "Column1"
    column_name_nlsid="Column1_nlsid"
    column_name_nlsid_value="Column1_nlsid_value"
    The table will show:
    column_name: "Column1_nlsid_value"
    if we search "Column1" as column_name, The Search will also show:
    column_name: "Column1_nlsid_value"
    in results
    But,
    If we modify the nlsid value as:
    column_name_nlsid_value="Column1_nlsid_value_MODIFIED"
    Then
    The table will show:
    column_name: "Column1_nlsid_value_MODIFIED"
    if we search "MODIFIED" in column_name, The Search will NOT show any results
    So, it seems to me that the af:query search always searches upon the values derived from InternalAttribute values.
    What can i do to over-ride such behaviour , so that the search also takes the data from modified getters.

    Try posting in Jdeveloper Forum JDeveloper and ADF which has more audience

  • Problem when moving between pages

    Hi all,
    I have buit an interface in Flash Catalyst and imported it into FB to modify a few little things. However, when I run the application and move between the "pages" I built in Catalyst, I noticed that the pages dont reset at the top. By this I mean: if I scroll down a long page and click a "next" button, the following page wont begin at the top, it will display at the point where I scrolled to on the previous page.
    Is there a way to make a resulting page start at the top like it would if it were HTML?
    Thanks in advance!

    Heya!
    Thanks for the reply...!
    When i import the fxp file in to FB the pages are already built. How would I go about putting the pages in a scroller (since catalyst doesnt already do it)?
    I can drag out the Scroller component, but it doesn seem as if I can build anything in it. Sorry... I am quite new to this.
    I made a quick little example and pasted the code below. Would I be able to modify this in some way?
    Thanks again for your assistance... it is much appreciated!
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:fc="http://ns.adobe.com/flashcatalyst/2009" xmlns:components="components.*" xmlns:ATE="http://ns.adobe.com/ate/2009" xmlns:ai="http://ns.adobe.com/ai/2009" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns:lib="assets.graphics.Untitled_1.*" backgroundColor="#FFFFFF" height="900" preloaderChromeColor="#FFFFFF" width="1040">
        <fx:Style source="Main.css"/>
        <fx:Script><![CDATA[
            protected function button_clickHandler():void
                currentState='Page2';
            ]]></fx:Script>
        <s:states>
            <s:State fc:color="0xcc0000" name="Page1"/>
            <s:State name="Page2"/>
        </s:states>
        <fx:DesignLayer d:id="2" d:userLabel="Layer 1">
            <s:Button includeIn="Page1" label="Button" x="337" y="191" click="button_clickHandler()"/>
        </fx:DesignLayer>
        <fx:Private>
            <fc:Guide x="33"/>
            <fc:Guide x="230"/>
            <fc:Guide x="1002"/>
            <fc:Guide y="290"/>
            <fc:Guide y="314"/>
            <fc:Guide y="221"/>
        </fx:Private>
    </s:Application>

  • RH10: Snippets from resource manager show in search results

    I'm new to using the resource manager, so there's a good chance I've done something stupid here... but...
    I have 2 projects (I am the only tech writer, so running off one PC, no version control). I want to share snippets between the projects, so I'm using the resource manager to keep them synched up. Both are compiled as CHMs.
    When I search, I'm getting search results that appear to be the snippets in the results. When you double click them, they don't open.
    Here's a screenshot of what I'm seeing.
    Has anyone else seen this before? I'm using RH10.

    I have set up a test and cannot get snippets to show in search results.
    I am a little puzzled by the fact that you say they appear to be snippets, thus casting some doubt.
    Do you have snippets with those names and do the snippets contain the term being searched.
    Do you have topics with those names?
    Does it happen in a new project?
    Try creating a new SSL, not a duplicate.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Yaourt doesn't show AUR searching results

    yaourt doesn't show AUR searching results. When I type for instance:
    $ yaourt splashy
    I get:
    1 archlinuxve/splashy 0.3.10-1 [installed]
    A next-generation user-space boot splashing system for Linux systems
    2 archlinuxve/splashy-themes 0.4-1 [installed]
    Splashy Themes
    google_ad_client="pub-3170555743375154";google_ad_width=468;google_ad_height=60;google_ad_format="468x60_as";google_color_border=
    "ffffff";google_color_bg="ffffff";google_color_link="0771A6";google_color_url="99AACC";google_color_text="000000";//-->
    </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><div
    id="sub_nav"><ul><li><a href="http://archlinux.org/mailman/listinfo/aur-general">Discussion</a></li> <li><a href="http://bugs.archlinux.org/
    index.php?tasks=all&project=2">Bugs</a></li> <li><a href="packages.php">Packages</a></li> <li><a href="account.php">Accounts</a></
    li> <li><a href="index.php">AUR Home</a></li></ul></div></div><div id="lang_login_sub"><span id="lang_bar"><ul><li>Lang: </
    li><li><a href="/packages.php?setlang=en" title="English">EN</a></li> <li><a href="/packages.php?setlang=pl" title="Polski">PL</a></li>
    <li><a href="/packages.php?setlang=it" title="Italiano">IT</a></li> <li><a href="/packages.php?setlang=ca" title="Català">CA</a></li>
    <li><a href="/packages.php?setlang=pt" title="Português">PT</a></li> <li><a href="/packages.php?setlang=es" title="Español">ES</a></li>
    <li><a href="/packages.php?setlang=de" title="Deutsch">DE</a></li> <li><a href="/packages.php?setlang=ru" title="Русский">RU</a></li>
    <li><a href="/packages.php?setlang=fr" title="Français">FR</a></li></ul>
    ==> Enter n° (separated by blanks, or a range) of packages to be installed
    ==> ----------------------------------------------
    ==>
    It doesn't matter what I type after the command. I always get the header of AUR site as a result. How can i solve the problem? I have already done:
    yaourt -Syu
    and
    pacman -Sc
    few times.
    The problem concerns 0.9-2 and 0.9.1-1 as well.

    wain wrote:
    ok your output is ok...
    Please, try this:
    wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 "<a href='/packages.php?ID=" | sed -e "s/<\/span>.*$//" -e "s/^.*packages.php?ID=.*span class.*'>/aur\//" -e "s/^.*span class.*'>//" | grep -v " " | grep -v "^--"
    it should be like that.
    I tried that and I got:
    google_ad_client="pub-3170555743375154";google_ad_width=468;google_ad_height=60;google_ad_format="468x60_as";google_color_border="ffffff";google_color_bg="ffffff";google_color_link="0771A6";google_color_url="99AACC";google_color_text="000000";//--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><div id="sub_nav"><ul><li><a href="http://archlinux.org/mailman/listinfo/aur-general">Discussion</a></li> <li><a href="http://bugs.archlinux.org/index.php?tasks=all&project=2">Bugs</a></li> <li><a href="packages.php">Packages</a></li> <li><a href="account.php">Accounts</a></li> <li><a href="index.php">AUR Home</a></li></ul></div></div><div id="lang_login_sub"><span id="lang_bar"><ul><li>Lang: </li><li><a href="/packages.php?setlang=en" title="English">EN</a></li> <li><a href="/packages.php?setlang=pl" title="Polski">PL</a></li> <li><a href="/packages.php?setlang=it" title="Italiano">IT</a></li> <li><a href="/packages.php?setlang=ca" title="Català">CA</a></li> <li><a href="/packages.php?setlang=pt" title="Português">PT</a></li> <li><a href="/packages.php?setlang=es" title="Español">ES</a></li> <li><a href="/packages.php?setlang=de" title="Deutsch">DE</a></li> <li><a href="/packages.php?setlang=ru" title="Русский">RU</a></li> <li><a href="/packages.php?setlang=fr" title="Français">FR</a></li></ul>
    instead of right output.
    I have the same problem on my two diffrent mashines. I don't recall that I changed anything in config files. Btw, thanks for interest.

  • I'm having trouble with something that redirects Google search results when I use Firefox on my PC. It's called the 'going on earth' virus. Do you have a fix that could rectify the vulnerability in your software?

    I'm having trouble with a virus or something which affects Google search results when I use Firefox on my PC ...
    When I search a topic gives me pages of links as normal, but when I click on a link, the page is hijacked to a site called 'www.goingonearth.com' ...
    I've done a separate search and found that other users are affected, but there doesn't seem to be a clear-cut solution ... (Norton, McAfee and Kaspersky don't seem to be able to detect/fix it).
    I'd like to continue using the Firefox/Google combination (nb: the hijack virus also affects IE but not Safari) - do you have a patch/fix that could rectify the vulnerability in your software?
    thanks

    ''' "... vulnerability in your software?" ''' <br />
    And it affects IE, too? Ya probably picked up some malware and you blame it on Firefox.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • I want to show previous test result on uut screen?

    Hi.
    I'm using Test Stand 2013. I want to show previous uut result on new uut screen. How can i do it? Which variable can i use for it?

    You could store the previous results using the PostUUT callback (or near that if you are changing the process model directly) and store the result status in a FileGlobal indexed by testsocket index. For example something like:
    FileGlobals.LastTestSocketStatus[RunState.TestSockets.MyIndex]
    To make sure the array is big enough you could dynamically size it somewhere using SetNumElements() once you know how many testsockets there are.
    Hope this helps,
    -Doug

  • In a Google search, clicking on a search result causes the new page to open with the search terms highlighted in yellow -- how can I turn off th

    In a Google search within a Firefox session, clicking on a search result causes the new page to open with the search terms highlighted in yellow -- how can I turn off this highlighting?

    Try to clear the Google cookies and redo those Google options.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • How to keep location in a table persistent when switching between pages

    Hi -
    How would I keep my last location persistent in a table when switching between pages? If I am on cell X and switch to another page, when returning to the previous page, I return to the top of the table. This can be very annoying when trying to find the same location in a large table (or even in a small one).
    Thanks.

    If by "page" you mean "sheet", you can do it. To get back to the same place you were in the other sheet, click on the sheet in the sidebar (the list of sheets/tables/charts/etc on the left). Don't click on the table, click on the sheet.

  • Running Adobe Photoshop Elements 12 is sluggish when moving between pictures on new iMac.

    Running Adobe Photoshop Elements 12 is sluggish when moving between pictures on new iMac. I have a standard 21" iMac with 8 gb of RAM, but it still sticks for up to 30 seconds when switching pictures in organizer or other functions.  How can I get it more responsive?

    How large is your HD & how much space do you have left?  Make sure you are using the latest version of APE. 
    You should also contact Adobe Support and/or post in the Adobe Forums since it's their product.

  • How do I disable the drop down box which appears below the Search Box (which shows previous searches) when I start typing in my search topic

    Hi I would like to know how to disable the drop down box which appears below the search box on the start page when I start to type in my search topic. If for example the first letter I type in is an S then it shows a list of previous searches of sites beginning with the letter S.

    This is stored in the Firefox form history. For details of how to clear form history and prevent Firefox from storing any more form history see https://support.mozilla.com/kb/Form+autocomplete

  • Using "Restrict by app" in change query causes issues with Search Results

    Hello!
    I am hoping some experienced SP admin can help me out. I am having issues with the relevance ranking for my search results web part.
    I created a Wiki (OOTB) within a site collection and on the home page of the Wiki I was looking to apply a Search Box and Search Results web part for easy searching. I wanted to ensure the search results were restricted to the scope of the pages within the
    wiki. I did the following after adding the 2 web parts:
    Entered edit mode for the page
    Started to edit the Search Results web part
    Under Properties for Search Results clicked on "Change Query"
    Navigated to BASICS and clicked "Switch to Quick Mode"
    For Select Query, picked "Wiki (System)" option
    For Restrict by app, picked "Specify a URL" and input the wiki URL "http://webapp.com/sites/sitecollection/wiki"
    Click OK
    The web part has 6 automatic results when I hit the page. These are the only 6 pages in my wiki. When I search a word or title of a page, they are not ranked in order or relevance. The ordering is static to what was being shown before the search, but the
    keywords I'm searching are bold. With out the taking the steps above, I can easily search these pages and have them ranked appropriately so I'm not too sure what I'm doing wrong. 
    Other Details
    The pages have been crawled and can be searched from anywhere else in SP.
    I am only a site collection admin for this specific site collection.
    I other than the steps above, I have not made any changes or customization to the search web parts; they are both out of the box SP.
    The SP Farm admin we unable to pin point what the root cause is either.

    Hi Mikael,
    Sorry for the wait, I was unable to post pictures, which i felt would better describe my issue.
    Could you output the query template you are ending up with?
    If you can tell me how to accomplish this, then I can provide it. Please keep in mind that I am only a site collection admin.
    Also, is the ranking/sorting for your webpart set to ranking?
    When looking at the web part settings, I didn't see an option to modify the ranking. Unfortunately, some sites in my intranet are down now so I can't even double check. Once it's back up, I will verify this as well.
    And how do you know they are ranked incorrectly?
    I wanted to display an image showing what I meant by this. As the wiki is down, I'll do my best with words. When I visit the wiki home page, I already have the search and search results web parts there. Without searching anything, the search results
    web part displays 6 pages that are available in the wiki. When I search, I expect to see the most relevant result at the top. similar to the following: 
    *Search result from another section of the intranet site.*
    What I receive instead is the same list of wiki pages, in the same order. The most relevant result
    is not moved to the top like in the image above, but I can see that the word "rush" is highlighted in bold. I hope this helps.
    If you need more of a description, please let me know.
    Thank you

  • Access query strings in a search results page with custom display template

    am trying to create a  custom display template in my search results page , so i went to download the itemdefault html file and renamed it and  saved as  different file.and  am started to updating.
    the issue i am facing here is : in my  search results page there are 2 query strings, which are passed by anotehr .net appln[ another asp.net appln will be sending the query string to my sp 2013 search results page]
    but, how can i  read these 2  query strings using jslink and  new token _#- ? 
             <!--#_
               var QStringResults= null;
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){ 
    QStringResults= getQuString(); //here am unable to read the QStringResults value 
     _#-->  
    the below is my cstomhtml file
    am unable to  get the values :
                   <a href="http://srvrname:2013/sites/CMP/_layouts/15/BIFAddInputRef/bifpage1.aspx?bif1=_#= $htmlEncode(QStringResults) =#_"> Add Input Reference </a>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"> 
    <head>
    <title>Item BIF</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays the default result item template.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description','EditorOWSUSER':'EditorOWSUSER','LastModifiedTime':'LastModifiedTime','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedSummary':'HitHighlightedSummary','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'FileExtension','ViewsLifeTime':'ViewsLifeTime','ParentLink':'ParentLink','FileType':'FileType','IsContainer':'IsContainer','SecondaryFileExtension':'SecondaryFileExtension','DisplayAuthor':'DisplayAuthor','CMPBIFURL2':'CMPBIFURL2'</mso:ManagedPropertyMapping>
    <mso:_dlc_DocId msdt:dt="string">X3CVW7PXYF6P-3-222</mso:_dlc_DocId>
    <mso:_dlc_DocIdItemGuid msdt:dt="string">3ed12157-ea19-4591-b9cd-7a826aef35dc</mso:_dlc_DocIdItemGuid>
    <mso:_dlc_DocIdUrl msdt:dt="string">http://srvrname:2013/sites/CMP/_layouts/15/DocIdRedir.aspx?ID=X3CVW7PXYF6P-3-222, X3CVW7PXYF6P-3-222</mso:_dlc_DocIdUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
        <script>
            $includeLanguageScript(this.url,"~sitecollection/_catalogs/masterpage/Display Templates/Search/BIFJScript.js");
        </script>
        <div id="Item_BIF2">
    <!--#_ 
            if(!$isNull(ctx.CurrentItem) && !$isNull(ctx.ClientControl)){
                var id = ctx.ClientControl.get_nextUniqueId();
                var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default_HoverPanel.js";
                $setResultItem(itemId, ctx.CurrentItem);
    if(ctx.CurrentItem.IsContainer){
    ctx.CurrentItem.csr_Icon = Srch.U.getFolderIconUrl();
    ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
                ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
    _#-->
             <!--#_
               var QStringResults= null;
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){ 
    QStringResults= getQuString();
     _#-->  
            <div id="_#= $htmlEncode(QStringResults) =#_" name="bifItemqstring" 
                    data-displaytemplate="DefaultItem" class="ms-srch-item" 
                    >
                    <h5 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Path =#_"> _#= ctx.CurrentItem.Path =#_</a>
                    </h5>
                </div>
                <div id="_#= $htmlEncode(itemId) =#_" name="bifItem" 
                    data-displaytemplate="DefaultItem" class="ms-srch-item" 
                    onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" 
                    onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
                    <h1 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Path =#_"> _#= ctx.CurrentItem.Path =#_</a>
                    </h1>
                    <h4 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Description =#_"> _#= ctx.CurrentItem.Description =#_</a>
                    </h4>
                    <h4 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.LastModifiedTime =#_"> _#= ctx.CurrentItem.LastModifiedTime =#_</a>
                    </h4>
                    <h3 style="color:floralwhite;background-color:green">
                        var mybifurl1= document.getElementById($htmlEncode(QStringResults));
                    <a href="http://srvrname:2013/sites/CMP/_layouts/15/BIFAddInputRef/bifpage1.aspx?bif1=_#= $htmlEncode(QStringResults) =#_"> Add Input Reference </a>
                    </h3>
                  </div>
            <div>
            </div>
                    <div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div>
    <!--#_ 
    _#-->
        </div>
    </body>
    </html>
    when i run the page , i a getting the query string value as   undefined! though the custom javascript is getting called.

    i am able to get the  results  by implementing the below:
    <h4 style="background-color:black">
                        <a onclick="javascript:mycalltojs(_#=
    ctx.CurrentItem.Path=#_) > click here </a>
                    </h4>
    hope this helps  anyone

Maybe you are looking for

  • Duplicating de confirmation for Clients with credit problems

    Hi, We are using GATP to confirmed the sales orders quantities. In the check instructions, we are using check availability and then RBA (product substitution) When I create a sales order for a client with credit problems the confirmed quantity is bei

  • Changing the name of my podcast

    So I am making some changed to my podcast and need to change the name to reflect that. I am hoping that I will not have to lose all my subscribers. I have changed the name and all the info in the .xml file and it will still be linked to the same feed

  • JInternalFrame control bypass

    We have an applet that contains some JinternalFrames that contain JLists. I am pretty new to Swing and now I am trying to implement functionality to the JLists. One is drag-and-drop and the other one is mouse right click popup menu. Both work but the

  • Error in PREP_EXTENSION/EHP_INCLUSION! phase

    Hi Experts, I am in Support pack stack upgrade activity from SPS10 to SPS11 through SUM.Our environment is ERP6.0-->Ehp5,OS400,DB2. I am getting error in PREP_EXTENSION/EHP_INCLUSION! phase. Last error code set: Disassembling patch queue failed rc =

  • Do not use Lightroom for Canon 7D RAW files!

    I know that Adobe says support is preliminary, but it is just horribly bad, especially on high ISO images.  I just processed the same ISO 1600 picture in both Lightroom and Canon Digital Photo Professional and the difference is unbelievable.  The Lig