Search Result Customisations

Hi
I am trying to customise search results by creating my own custom version of the GroupedResultsViewHelper class. I've configured the dynamic discovery and thats all working. However the problem i'm having is with the nature of the customisation itself.
I require search results to open in a new window only if the document is crawled in from a particular URL. But the anchor tag is a javascript function with a whole bunch of numeric arguments, so its hard to tell where the document actually came from. Hence I can't programmatically determine if a search result should open in a new window or not.
Anyone tried anything similar?
Thanks
Polan

For card results, the call (from GroupedResultsViewHelper)
model.GetResultEODField(resultNum, PTINTRINSICS.PT_PROPERTY_DOCUMENTURL)
will give you the actual clickthrough URL as a String, and you can do whatever checks you need to it.
Craig

Similar Messages

  • How to customise OID search results page

    How do you customise the user search results page in OID 902?
    The default is for the username and email address to display. I wish the first and last names also to display.
    Regards,
    John

    I am also looking to customize the people portlet. I have raised a TAR with Oracle. If I get a repsonse I will post it here.

  • Web App {tag_edit} doesn't render in web Web App search results within secure zone?

    We have secure zones that are to display certain web app items to be filtered by Category. The secure zone members need to filter through web app items and edit these items from the list view. We've set it up accordingly and the list view is exactly how it should be when it is simply displaying on a page within the secure zone, however when the web app search/filtering is applied the "edit" tag doesn't display. Is there anyway to have this work or does it simply not? Please tell me it is possible to filter and edit web apps.
    Thanks in advance,

    Hi The Bowery, the edit tag will not show in general web app item search results unless the owner of that web app item is logged in to a secure zone to view it.
    However, if you are happy for anyone looking at the website to edit all web app items, you can set that in the properties of the web app itself. Then I think the edit tag will show to anyone looking at the web app items.
    If you only want the web app item owner to edit the web app item then you need to set up a secure zone for them to log in and view it.
    It will show when the web app item owner is logged in and viewing the web app items, if the edit tag has been added to the layout customisations. So it will only show to the web app item owner.
    You need to set up a secure zone for the web app item owners to upload and edit their web app items.
    Search results on a webapp use the List template layout  for the webapp to show a summary of the search results and the detail Template Layout is what shows when you click on the search result summary item. In webapp setups I usually put the edit tag in the List template

  • How does SharePoint determine files are duplicates in search results?

    In the search results, some files are grouped as duplicates (a hyperlink view duplicates appears under the search result).
    How does SharePoint determines that 2 files are duplicates?
    How does SharePoint determines the one that is shown in the search result (the 'main' file)?
    Can we influence both?
    Patrik | My Blog

    I don't know if this helps, but I've been looking into the same problem that's come to light a few times during troubleshooting customised deployments of SharePoint recently.  This is my understanding so far (paraphrased from http://blogs.technet.com/harikumh/archive/2008/11/14/some-interesting-facts-about-sharepoint-2007-search.aspx):
    Document similarity or matching for the purposes of identifying duplicates is based only on a hash of the content of the document.  None of the file properties are used in calculating the hash (i.e. things like filename, author, create and modify dates are not used).  The SQL table MSSDuplicateHashes in the SSP’s search database holds all the 64bit hashes necessary to determine if one document is a near-duplicate of another against each indexed document.  This table is read while doing a search to determine duplicates if removal of duplicates is enabled.
    Steve

  • Where has sort by date modified gone in search results?

    I'm in Lion. Where has the 'sort by date modified' gone in search results? If I search for all After Effects files on my Mac. Lion gives me a list unsorted of hundreds. Date modified header not clickable to sort. Adding a search term 'date modified' will not sort the column by date modified. Dumb.
    Spotlight may be a powerfull search engine but it doesn't do the simplest thing you want it to intuitively. Simple search has been messed up for years. If the genus in Spotlight doesn't guess the file you are magically thinking you are screwed.
    Find in OS9 was one of the things that made the Mac so much better than the PC. It was simple and you could find your file in a second. The PC guy would still be searching after 10 minutes.
    Why can't simple search still be an option?

    mikesd wrote:
    The answer is Forklift. On sale now in the App store for $5. Also lets you sync folders and more but has a simple search that works.
    Why pay? You can just open a finder window, type in your search and click on the little wheel in the toolbar that lists these options under 'arrange by'. Or customise your toolbar to add the default icon that does this. One less third-party program to give you potential problems, also.
    Cheers
    Pete

  • Display folder path in the search result page

    Hi,
    I learnt that to customise the search results page, we need to change the SearchResultLayout set . Is there a command that I can add to the "command list" to display the folder/file path in the search results. Any suggestions in this regard is highly appreciated.
    Regards,
    Sreeram

    Hi Sreeram,
    Pls check this thread..
    https://forums.sdn.sap.com/thread.jspa?threadID=324119&tstart=0
    hope this helps.
    Regards,
    Venkat.

  • Mass email from search results

    Can I send a mass mail from the search results of business partners? How?

    Hi Craig,
    You can do this through customising: SPRO > Logistics - General > Material Master >  Tools > Maintain Search Helps
    There, give double clicl to the "Search Help" = MAT1_A.
    Then, select the tab "Include search helps" and select the search where you want to add a field. i.e. MAT1V - Material by Supply Area.
    Once you are there, check if you can add the field LVORM - DF at client level.
    Then, save the data and in this search you can have the option to see all the materials deleted or not deleted.
    By the way, Narla Rama Krishna Mohan has a document about "Material Master Search Help" and it can help you too.
    This is the link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8047f84e-7973-2c10-548a-ab4cb1c3c498?quicklink=index&overridelayout=true
    Hope this help.
    Kind regards,
    SP

  • Remove material from search results

    Is anyone aware of a way to remove a material from search results?  I have a large contingent of materials that are no longer valid for sale and the search results create a lot of clutter.   I need to retain the records for historical sales transactions but since there is no stock and the materials are discontinued, they don't need to be displayed on search.

    Hi Craig,
    You can do this through customising: SPRO > Logistics - General > Material Master >  Tools > Maintain Search Helps
    There, give double clicl to the "Search Help" = MAT1_A.
    Then, select the tab "Include search helps" and select the search where you want to add a field. i.e. MAT1V - Material by Supply Area.
    Once you are there, check if you can add the field LVORM - DF at client level.
    Then, save the data and in this search you can have the option to see all the materials deleted or not deleted.
    By the way, Narla Rama Krishna Mohan has a document about "Material Master Search Help" and it can help you too.
    This is the link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8047f84e-7973-2c10-548a-ab4cb1c3c498?quicklink=index&overridelayout=true
    Hope this help.
    Kind regards,
    SP

  • Error while adding a 'Ext No' field to Activities Search Result List on UI

    Hi Experts,
    The requirement is to add a new display field u2018External Nou2019to the activities SEARCH Result list.
    At the moment activities are displayed with start date, end date and category, now the user want to display External No as well.
    The details for that
    Target:
    Component:BT126S_APPT
    View:bt126s_Appt/ApptSR
    Context Node:BTQRACT
    New attribute 'EXTERN_ACT_ID' to be added to the context node.
    Source: component: BT125H_TASK
    View: BT125H_TASK/TaskDetailsOV
    ContextNode:BTACTIVITYH
    Attribute:Struct.Extern_Act_Id
    BOL Relation:
    BOL ENTITY: BTQRAct
    BOL Attribute: BTADVSAct -> BTOrderHeader -> BTHeaderActivityExt/EXTERN_ACT_ID
    When i tried to added the attribute to the context node BTQRACT, it gave me the error 'method CL_BT126S_A_APPTSR_CTXT CREATE_BTQRACT DOES NOT EXIST.
    please give me some inputs.
    Regards
    Krishna

    Hi steve,
    Still my issue was not resolved, could you help me to find the exact error.I have enhanced the component, view and context node, still i couldn't able to add attributes to the context node BTQRACT.I tried to add several fields, but it is giving the same error 'METHOD CL_BT126S_A_APPTSR_CTXT' CREATE_BTQRACT DOES NOT EXIST'. I have checked the OSS messages and found 2 relavant to this component. I have implemented both the Sap Notes 1363752, 1226612. Still after implementing the OSS note, i am getting the same error.My guess is one of the method is missing. Please help me out?
    Regards
    Krishna

  • Podcast No Longer Showing Up on iTunes Search Results

    We submitted our podcast months ago and it showed up on the iTunes store just fine. Somewhere along the way, someone on our end introduced a code error in the .xml file that broke the links to the audio files. We didn't find this issue out for quite a while, and in that time, it appears that iTunes flagged and took down our podcast feed from the store (I'm assuming because of this code error).
    I have since remedied the code issues and I can subscribe directly to the feed now, so it is working fine. But I cannot get the store to show the podcast in any search results. When I try to resubmit the feed the store says it is already submitted - even if I change the url and the .xml file name, so it is clearly smarter than I am, haha.
    Any tips on how to get out of this problem? It has been several weeks and the podcast still does not show up on the store.
    Thanks,
    Bill

    Roger,
    Thanks for the reply - in the time it took me to hit submit and tab back to my .xml file I saw that I'd missed changing the link/title. Thank you for confirming that this will do it - it let me resubmit. Take care!
    Bill

  • Sorry, something went wrong - Open Office File from Search Results Page with Office Web Apps

    Hi,
    I'm getting "Sorry, something went wrong" error when I'm trying to open any office document from inside Search Results Page with Office Web Apps, the same error is appearing in the document preview as well.
    The error in SharePoint logs says that the file cannot be found.
    Please note that this error is coming only when the "Filename" of the document is not written in English (in my case its written with Arabic characters).
    If I try to open it from the document library, its opening properly with no errors.
    The only difference between two URLs (document URL in Search Results and in Document Library) is the value for "sourcedoc" attribute;
    In the case of Search Results page, the filename in "sourcedoc" attribute is kept as is with Arabic characters.
    While in the Document Library, the filename in "sourcedoc" attribute is converted into different characters (something like: "B9%D9%85%D9%8").
    Anybody have an idea on how to overcome this issue, implement a workaround or modify the "sourcedoc" behavior?
    Thanks in Advance.
    Hamza AlSughier

    Dear Wendy,
    Thanks for your efforts, I already tried your last suggestion before, but this didn't solve my problem.
    Actually my end users are accessing this portal using ADFS and HTTPS.
    Finally I got this solved, I have done below to get my overall solution working perfectly:
    - First I have configured Windows Authentication and ADFS Authentication on the same zone which is the default zone.
    - The issue when opening office documents with Arabic file name has disappeared as a result of first change.
    - Then I have faced an issue where we are not able to crawl content under Default zone, however we have to do so, after too many efforts, I found that its related to the Load-balancer/proxy, I have made the crawler server
    to crawl himself (http://CrawlServerName:PortNumber).
    - Also a change on Alternate Access Mapping was needed, I have set one of the extended zones (which is running Windows Authentication only) as Internal URL for the Default Zone, and this is was the URL I used for Crawling.
    I have configured Server Name Mappings to make sure we got proper URLs in Search Results.
    - Then we faced another issue, which is Authentication selection on login page (How to bypass this page, and authenticate using ADFS auto), I used this solution (Set Custom Sign In Page):
    http://0ut0ftheb0x.wordpress.com/2014/01/04/skip-the-authentication-selection-page-at-_logindefault-aspx-in-a-mixed-authentication-environment/.
    - I faced one more issue as a result of above workaround; Sign Out functionality wasn't working well; users get logged in automatically whenever I click on Sign Out. I solved this by modifying the "Sign Out" Control under _layouts;
    I made it to redirect users to ADFS Sign Out Page instead of SharePoint Sign Out Page (I know its not recommended, but I don't have any other option).
    Hamza AlSughier

  • Why do google search results reset to match the search bar terms when i use the back button?

    Since the update to FF 23, the list of Google search results clears and the on-page search box is reset to match the address bar search box when I hit the back button to re-view the results list after checking a result.
    To see this issue for yourself, set your search provider to Google and make sure Instant is on. Type a search term into the search bar and press enter. A google page appears with your results list. Now, change your search terms or conduct a new search directly from the google page (without using the FF search bar). Click on the first result in the search list, then click the back button to return to the search results so you can check a differest result. As FF goes back to the google page, it will reset the on-page search box to match the FF search bar (although you were no longer on this search) and all search results will disappear, replaced by the message "Press enter to search". Pressing enter reconducts your old search, not the one you were on.
    This is incredibly maddening since searching for something requires frequent use of the back button to check through the list of search results, and then frequently trying the search again with slightly different terms. Although it sounds like a Google issue, it did not occur on the old firefox and has me wanting to revert. I tried to revert to the old search function via the "keyword search" addon, but this did not fix my issue. Is there a way to force FF to go back to the actual google search page I was just on instead of conducting a new google search from the FF search box when I hit the back button?

    In Firefox 23 versions and later the keyword.URL pref is no longer supported and it is no longer possible to specify the search engine for the location bar via the keyword.URL pref.<br />
    The search engine that is used on the location bar and on the about:home page is the search engine that is selected in the search Bar on the Navigation Toolbar.<br />
    Current Firefox versions do not update the about:home home page until you refresh the page (future versions will do this automatically without a refresh) and that is what happens if you use the Back key.
    You can install the Keyword Search extension to specify with search engine to use for the location bar and which search engine to use for the about:home page via the Options/Preferences windows of this extension, accessible via the about:addons page.
    * Keyword Search: https://addons.mozilla.org/firefox/addon/keyword-search/

  • Web page different from opening link in a new tab or new window from Google search results

    I had been using another browser for a few months because I did not want to lose the web pages I opened within Mozilla. I began using Mozilla again after saving off the web pages. I see that Google's web page pulls in search results as I type in keywords, a feature I don't remember seeing with other browsers along with a magnifying glass icon, like a look ahead of what a web page looks like before clicking on the link.
    With the list of search results, I click on the link and tell Mozilla to open the link in a new tab. I see the google icon, "loading..." or "testing...", then results other than the link I wanted. Those other results maybe bing.com, http://66.45.255.230/click.php?c=0920f96609cb269f1d0045095c09, http://superpages.iarbiz.com/o6gIoMdG6so=-tQ1LeOu1v0kY34rDZ|oRy8Xt294ACu6X, Info.com, Supermedia Reverse Proxy (http://superpages.iarbiz.com/o6gIoMdG6so=-tQ1LeOu1v0kY34rDZ|oRy8Xt294ACu6X)or whatever else. As for the link, I managed to press stop before being redirected.
    This is with any search results listed.
    I thought it was Google.
    Changed to Instant is off.
    Nope. Still the same issue. Have already gone after malware. Tried resetting the redirect value to 0.
    Above results also occur when opening the link in a new page via right menu click.
    Copying link location and pasting in a new window is displaying results okay.
    When resuming use of Mozilla, an update was available and installed. Did not experience the above issues before the update.
    Running version 3.6.12. Running Win XP Pro SP3.
    Had to go back to IE and Chrome/SRWare Iron.
    Example:
    Google keywords: rental cars
    Clicked on Ad: _Avis_Rent_a_Car_, link is Avis.com
    Clicked on top search result: Hertz_Rent-a-Car_-_Rental_Car_Discounts,_Coupons,_and_Great_Rates (magnifying glass), www.hertz.com

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • How to change search result list entries?

    Hi together,
    I'd like to fit the TREX search result list to my own requirements. I've edit the Search Result Renderer Settings, Search Result Layout Set, Search Component Set and the Search Option Set. But that's not enough.
    1.) I would like to display the relevant index name, in which the document was found.
    2.) For special indexes (not for all!) I want to change the content link:
    For example: if TREX is finding an xml-File in index "abc_index" I would like to change the content link from
    "https://portalserver/irj/go/km/docs/folder/p76.xml" to
    "https://portalserver/irj/go/km/docs/folder/p76.htm"
    and from
    "https://portalserver/irj/go/km/docs/folder/p76_data.xml" to
    "https://portalserver/irj/go/km/docs/folder/p76.htm"
    3.) I'd like to display a special part of the document as a explanatory text in the result list.
    I think point 1 and 3 are possible with properties and HTML-extractors. But point 2 I'm afraid I have to create my own component.
    But how to manage this? I cannot find any code snippets or tutorials or pattern to copy and develop further.
    Is it possible or advised to write a WebDynpro? Are there other possibilities? I don't know how to start.
    I would be pretty delighted to get any idea...
    Thanks a lot
    Steffi

    Hi Stefanie
    1) If you want to be able to show the name instead, you should write your own property renderer. Heres the link for the documentation: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c739e546-0701-0010-53a9-a370e39a5a20 -> How to Implement Flexible UI
    Components -> Property Renderer
    2) Documentation will be send in a matter of minutes.
    3) I also think the web property extractors only work with the web repository manager, because as far as I know that is the only repository manager, where you can select a web property extractor upon creation. I guess you could open an OSS to SAP and ask if its not possible to extract properties in your scenario just to be sure if its not possible. But my guess is that you either have to develop your own repository manager or publish your files on a web server in order to meet your requirements.
    Best regards,
    Martin

  • If Condition in Keyword Query Language (SharePoint 2013 Search Results)

    Hi All,
    Can we have an "If" condition in Query text box in SharePoint 2013 Search results page. For example, i want to hide all list items whose
    status is "HideItem" from appearing in search results?
    I am trying this: {?{searchTerms} (contentclass:STS_ListItem -ListItemStatus:"HideItem")}
    But, this hides all items like aspx pages, pdf's, docs and displays only list items. 
    Similarly, hide pages of some name like: AllItems.aspx, ViewDetails.aspx, AllAssets.aspx 
    {?{searchTerms} (contentclass:STS_ListItem_850 -filename:"AllItems.aspx")} 
    Any help would be great. Thanks in advance.

    Thanks Steve. I found this solution after a bit of struggle :).
    Also, date comparision is not working as expected. 
    {?{searchTerms} NOT(contentclass:STS_ListItem AND ListItemStatus:"HideItem" AND
    PublishDate<{Today})} is not working and throwing syntax error.
    I don't see any solid reference to KQL syntax except this msdn link.
    Can you please suggest any good material on KQL syntax ?
    Thank you once again.

Maybe you are looking for

  • How can I use a JPEG file as a background image for my vi in 8.5

    Im working on a vi that I plan on using as part of an alarm system.  I would like to use a JPEG file of my house as a background image for the vi, or possibly to just be displayed in a window on the control panel.  I have seen people use their own im

  • How to remove dashed line

    I want to ask you how I can remove this blue dashed line? http://i.stack.imgur.com/WQpwt.png Ref javafx 2 - How to remove dashed line - Stack Overflow

  • Timestamp question in RS02

    Hi experts,        If I use the transaction RS02 how can I know the timestamp that are using..? because I see that in our development system the screen have Timestamp (UTC).... but if I access the QA environment I see that in that transaction in the

  • Unable to upload photos to photobiz or other photo sites

    I am a new Mac owner and recently attempted to upload photos to my photobiz site with no success. I tried the steps on the photobiz site but they did ont work.  I can not scroll down to read thefags page when on the site either.  I had to use my pc t

  • Losing Songs after Deep Sleep - still happening

    I thought my issue with the Song Library disappearing had magically fixed itself, but it has returned. Three times in the past week the library has been empty when turning on my 20GB iPod. I don't think it had even been 36 hours since the last time I