Search Results as in SDN

Hello Gurus,
I want the search results to be displayed exactly like we have in SDN. I mean search result should be displayed in the same window rather than opening a new window. Also when click on a document that document should open in the same window.
Please help in this.
V

Hi,
To open in a window [LINK]
===================
<hbj:link
id="link1"
text="LINK TO ANSWER"
reference="http://www.sap.com"
target="_TOP"
tooltip="takes you to sap"
onClick="JavaScript:window.open   ('Projectname.jspfilename{without .jsp extension}');"
>
For further information on link refer to
http://help.sap.com/saphelp_erp2005/helpdata/en/dd/f7c3f8d5519e41bddbc708594f9479/frameset.htm

Similar Messages

  • Search Results in the Same Window..as we have in SDN

    Hello Gurus,
    I want the search results to be displayed exactly like we have in SDN. I mean search result should be displayed in the same window rather than opening a new window. Also when click on a document that document should open in the same window.
    Please help in this.
    V

    Hello, we want to implement this functionality as well.
    We are on Portal 6.0 SP15.
    I’ve already modified the ToolAreaIview.jsp to right align the search input box and redeployed the portal archive as a new portal archive to our system.  I’ve created a new iview off this portal archive and the search box is right aligned.    Works great.
    Now we want the search results to appear in the content area iframe? in the same manner as the search results at SDN.  I followed the instructions as kindly outlined by Vaibhav.  I removed the old var searchURL= and window.open code.   My Toolareaivew.jsp now contains this in the function openSearch():
    var searchURL= "http://"location.hostname":50000""<%=url%>" QueryString;
    EPCM.raiseEvent('urn:com.ourcompany','searchResult', searchURL );
    I redeployed the par file to the portal and created a new search iview based on this code.
    I can see the javascript modifications in my browser when I go to view -> source.
    I can event take the variable  searchURL that’s displayed in the  source and paste it into my browser and the URL seems to be correct.  I then modified the com.sap.portal.navigation.contentarea.par ->  workarea.jsp and put in this code:
    // Search Result set
    function handle_searchResult_Event( eventObj ) {
    self.location.href = eventObj.dataObject;
    EPCM.subscribeEvent('urn:com.ourcompany','searchResult', handle_searchResult_Event);
    I saved the par file with the same sap name com.sap.portal.navigation.contentarea.par and redeployed it to the portal.  Now when I search on this newly created iview, it appears this event is not being raised as nothing happens.   I have further read that I may want to rename the .jsp from workarea.jsp to something else.  So I saved workarea.jsp as workarea_new.jsp and redeployed the par file.   Still nothing happens during the search.   I  have even stopped /restarted the portal but still no luck. 
    Could anyone provide any hints at what I might be doing wrong?
    Thanks in advance.

  • 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

  • Add hyperlink on the field txt in Search Result List to access Detail View

    Hi, SDN fellows.
    I have a PCUI requirement stated the following:
    1) In the line item of the Search Result List (table), there is one hyperlink in field 1.
    2) When click on the hyperlink, it will trigger the action to open up Detail View (Object Data Pattern 1 - ODP1) of the line item.
    3) Problem: When the value of the field is null, there will be no hyperlink to open up the Detail View.
    4) For work around, my requirement is to make the other fields (i.e. field 2) to have a hyperlink to trigger the action for opening the Detail View of the line item.
    I am not strong in PCUI. Please advise how to do so, while I am exploring the guide in the PCUI Book.
    Thanks,
    Kent

    Hello Kent,
    check out the settings of the Field Group element where the link is already active. Copy that settings to the Field which you want to be linked too.
    Regards
    Gregor

  • Customize the layout set used when opening a folder in search result list?

    Hi,
    I have created a search result iView that uses a predefined search query to show a list of folders. If I click on a folder <i>(rnd:displayname(contentLink)</i>) its content is displayed in a new window. Here the layout set Consumer Explorer (default profile?) is used.
    I want to use a custom layout set in this window. How can I achieve this?
    Regards,
    Mario

    Hi Mario,
    here the answers:
    > <i>1. Develop an own UI Command where you can give
    > the LayoutSet as a parameter</i>.
    >
    > Do you know where I can find some code sample?
    You can either check the <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/Implementing%20Flexible%20UI%20One-Step-Screenflow.article">Implementing Flexible UI One-Step-Screenflow</a> tutorial by Thilo Brandt or search here on SDN for "UI Command implementation" examples.
    > <i>2. Create a Layout Profile with your own Layout
    > Set and define it as the Default Layout Profile.</i>
    >
    > How can I find out for which operations/standard
    > iViews in KM (copy, move, create link...) the default
    > layout is used to avoid surprises when changing the
    > default profile?
    Normally, as you can see in the above mentioned <a href="http://help.sap.com/saphelp_nw04/helpdata/en/25/59bb2eece725498427334e0e21b80c/content.htm">Priority of Settings</a>, whenever the KM Navigation component (com.sap.km.cm.navigation) is opened without a specific layout set the global default layout set is used. As you can give this parameters by different ways (as URL parameter, in the KM Navigation iView configuration, via OTH file definition, hardcoded or configured in the configuration of an UI Command, etc.) it is nearly impossible to find <b>all</b> situation where your users will get this default profile.
    The UI Commands (with selection) you mentioned like "copy","move","create_link" use the configured LayoutSet (ConsumerOnlyFolderSelector) from the KM Configuration (of the command).
    > <i>3. You can also create a Layout Profile and go to
    > the root folder(s) of the search on "Details" ->
    > "Settings" -> "Presentation" and select your profile
    > in the tab "Settings for all users".</i>
    >
    > I think it is to complex to change all existing KM
    > Navigation iViews to forced mode.
    >
    One idea would be to use the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/0f/764b87dfb948fcb13fd7695e157892/content.htm">Multiple Property Replacement</a> feature by SAP.
    > Can you give me a hint on the other possibilities you
    > want to publish?
    Of course. One other possibility I have in mind is to work with OTH files. You might also search here on SDN to see how to use them for setting the layout set for specific folder paths.
    Hope this helps,
    Robert

  • Push MDM search results from webdynpro to portal's standard ResultSet iView

    Hi,
    I have gone thru a lot of SDN information, blogs and PDFs
    regarding the usage of EPCF, EPCM for communication between
    Webdynpro and Portal utlizing portal eventing phenomenon.
         My requirement a.k.a. predicament and grief::
    I get back mdm search results in webdynpro app, using a
    specialized search strategy to MDM repository. I need to
    ship these resuls off to the standard out-of-box
    portal's MDM ResultSet iView (which is a part of portal's
    MDM business package).
    I haven't had much success getting crisp resolution to
    satisfy my requirements. In my WD code, I know,  I need
    to put some sort of ?event-generating-2-liner-code? that
    sends my results to portal's standard iView.  
    Surely, I can send just recordIDs or I can send the actual
    results. I get 5 fields per record of Material's table.
    Once the ResultSet-iView displays the search results,
    my responsibility is over. Now onwards, portal's standard
    business package will take over from there for further user
    interacitons, like accessing item details etc..etc..
    Any and all help is highly appreciated.
    -Shashank Date

    No replies............yet.....It's been 2 days now.....
    Can someone provide some clues?
    thx.
    -Shashank Date

  • Show properties in the Search Result window

    Hello all,
    I would like to add few properties in the Search Result window such that the corresponding values are visible at a glance rather than checking the same in the respective Details wondow.
    Example: Ia have created new Properties like ReqNo, ReqDate... and would like them to appear in the Search Result window.
    Please help me solve this.
    Im also reading the UI topic given in help.sap.com but am unable to find the answer.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi Ritu,
    Go to KM Config > Content Management > User Interface > Settings > Layout Set and put "Search" in the filter.   You should see "SearchResultLayoutSet" and this is the Layout Set that is used to display Search Results.   Within the Collection Renderer there is Displayed Properties, this is what you need to focus on.
    There are some other threads and documents associated with your question here on SDN.   If you do a search for "SearchResultLayoutSet" in the SDN search you should get enough information to achieve your objective.
    Sorry for the brief reply but I have one foot out the door heading for the airport and won't be back online for another couple of days.
    Let me know how you go
    Paul

  • Unable to retreive custom properties for WPC pages in TREX search result

    Hi All,
    We have created couple of custom properties "custom_news_heading" and "custom_news_abstract" which are indexable and made it available for all folders and documents.
    In web pages folder in one of the WPC web site we have created few pages. In details screen for those pages  we have updated those custom propeties with some text.
    We have created an Index out of that web pages folder and able to see indexed count as same as the pages inside the web pages folder.
    For that index the "Display Index Details" screen in TREX monitor is not showing up the custom properties - means TREX is not considering those custom properties even if have flagged it as Indexable.
    Search result is returning the properties like "display name", contentlength etc. But we are not able to reterive the custom properties by customizing the Collection Renderer's Diaplayed properties.
    Any advice please?
    Thanks

    Hi Dhaya/Scotts,
    Please upload an image of ur layout setting and also the collection renderer in the
    [Wiki|https://wiki.sdn.sap.com/wiki/x/IACnB] page that I have created for this thread...
    Regards
    BP

  • Search results relating to forums

    Hello SDN,
    I would like to suggest that the search results relating to the forum should be showed more like a tree, at this moment there is a display of the same topic , the same number of times people have responded to that, instead there could just one topic with + sign next to it or a down arrow.
    In my opinion then one would be able to get the answer to the question quicker.
    Best regards,
    Dharmi

    Hello SDN,
    I would like to suggest that the search results relating to the forum should be showed more like a tree, at this moment there is a display of the same topic , the same number of times people have responded to that, instead there could just one topic with + sign next to it or a down arrow.
    In my opinion then one would be able to get the answer to the question quicker.
    Best regards,
    Dharmi

  • Wrong Search result for Employee Resp.lD when searching Sales Order

    Hi All,
    Happy new year first of all,
    I encounter a problem when using search sales order in WebUI. I am using SAP CRM 2007 SP4.
    I notice that the search result by using Employee Responsible ID as criteria, is returning Person Responsible
    instead !
    I entered both partner function in sales order document (Employee Responsible => BP 1234 and
    Person Responsible => BP 4567).
    Although in Search criteria selection I choose Employee Responsible ID, but when I put
    the BP 1234, the search result is blank. And when I change the value to BP 4567, I can see the result
    shows that document. But BP 4567 is Person Responsible, how come it gives the result for Employee
    Responsible??
    This is totally wrong! I couldn't find SAP NOTE or same issue mentioned here in SDN.
    Did I miss it? Please kindly share your find out if you have same case or solution for this.
    Thank you and will be rewarded.
    Cheers,
    Gun

    Hi Robert,
    Which config are you refer to in SPRO ?
    Partner Function Determination ?
    By attention to the Relat. Category change, we can not simply change it (although it can fix this
    problem). I read the field info :
    In many cases this is predefined in the system, based on the partner function category chosen. You can assign the corresponding relationship type freely if:
    - you select the partner function category undefined partneror
    - you have yourself defined the relationship category to
    So did you try it? fixed the problem? or have you encounter further problem?
    Rgds,
    Gun.

  • 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.

  • Show search result in Portal navigation context?

    My question is if it is possible to show a search result in the context of the portal navigation?
    After a standard search with TREX a KM-document/folder opens in a new window without any navigation context (and portalframework). We find this not very userfriendly. We use the SAPPortal/KM (NW04 SP17) as an Intranet-solution. The KM-folderstructure is similar to the portal navigation so every folder/document is shown only once in the portal navigation. There is one portal role which contains all the KM-navigation-iViews to the different KM-folders.
    I have searched the forum but could not find any information. Any help/ideas are appreciated. Thanks in advance.
    Best regards,
    Eric Huisman

    Hi Eric,
    We have just made a proof of concept for this and it works. Please understand that this is SUCH a great thing we have implemented that in this special case I won't post details about the solution on SDN - but be sure you can always ask btexx to implement it for you
    The solution does not restrict to KM content, but catches all content displayed within the portal (if you want, restricted to certain roles)!
    If you are at TechEd, we certainly can have a talk about it, also give you a live demonstration. See you in Amsterdam?!
    Best regards
    Detlev

  • Trex Issue - Search Results Mysteriously Disappearing

    Hello All-
    I have a strange issue with my TREX searching.  Here's what is happening - I run a search, the results come back saying there are x hits.  If I start paging through the results, I get about 1/2 to 2/3 of the way when suddenly the hits drops to some number less that x hits.  Where have the remainder of my hits gone?  I've checked out SAPNotes and SDN but haven't had any luck.  Has anyone seen this behavior before?  My guesses are that it is either hiding duplicates (and I'm missing some sort of switch) or some of the results are bogus (for instance, I have some documents that won't preprocess and perhaps these are coming up as bogus hits).
    I'm on EP6 SP 14/KM SP 14/TRex 14....
    Thanks and points given for any help what so ever in sorting this out!
    Jim

    Hi Jim,
    the number of search results is the total number that fits to your search term without any respect to the permissions.
    But the search results that are displayed on the result page are only those that you are allowed to see. As a consequence, you can only see new pages with search results as long as there are additional search results that you are allowed to see
    Kind regards
    Karin

  • Own Search Result Layout Set

    Hi,
    as following the document "How to remove the 'details' link from the search results page" (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to remove the details link from the search results page.pdf) we copied the SearchResultLayoutSet and renamed it.
    Now we changed the own SearchResultCollection Renderer of FlexibleUI via the KM User Interface to fit our requirements.
    To activate our own SearchResultLayoutSet we updated the file /etc/search.oth to use it instead of the standard one. It was necessary to reload the OTH with the following steps (EP6 SP2 Patch3):
    - Activate UI Superusers (wdfproxy)
    - Then a link “Rendering Information” within the Search page Results will be displayed.
    - Clicking this the Debug info page opens, here the button "Reload OTH" was available.
    - Clicking this, the OTH is reloaded and the new own layout set is activated.
    Now, when we moved to patch 27. This procedure differs a little:
    - Activate UI Superusers (wdfproxy)
    - Then a link “Rendering Information” within the Search page Results will be displayed.
    - Clicking this the Debug info page opens, here the button "Reload OTH" is not available anymore, instead there is a link "OTH Overview".
    - Clicking this, the OTH overview with a "Reload" button appears.
    - But clicking the reload button does not have the desired result: search.oth reloaded and the new own layout set is activated.
    How can a own SearchResultLayoutSet be activated globally in the Search OTH? Is there another way with Patch 27?
    Thanks,
    Erik
    Message was edited by: Erik Mueller

    Hi Erik,
    I mean it appears most likely to be an error in the
    location or contents of the search.oth file. If no
    errors are showing up in the log, I would guess the
    modified content is not being found. I think you need
    to check some of your basic assumptions. Try looking
    at the oth folder as a WebFolder and verify that the
    file is there and has the expected content.
    Another thing you might consider is making a different
    oth change that you can verify is taking place to
    check whether the oth is actually reloading.
    Also, if somehow the search criteria in the oth file
    are messed up, then it might silently (without an error)
    just not work, since, although it would be properly
    loaded into the oth, the critera would never get matched
    at runtime.
    I hope that gives you a couple of things to try to close
    in on your problem.
    Regards,
    Darin

  • 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.

Maybe you are looking for

  • Satellite L840/03R - FN buttons not working correctly after Win 8 upgrade

    I bought a new L840/03R and installed Windows 8 using the Toshiba Upgrade Assistant. There were no error messages. The function keys don't work with CTRL and ALT. So I can't use shortcuts like ALT F4 to close windows - this gives 'second screen' opti

  • Programs unexpectedly closing?

    I bought a powerbook last december and as of recent I've had programs such as safari, iTunes, Photoshop...close unexpectedly many times. I've sent reports to apple but I dont know what that is supposed to do. Has anyone had this problem?

  • Dialog hidden automatically when browser is in full screen mode

    Hello all, I have an applet which shows a modal dialog automatically. It works fine when the applet is shown in the IE browser in normal mode. The window disappears automatically within few seconds when the browser is in Full Screen Mode. Does any on

  • ME21N -- User Exit to assign G/L Account number

    Hi All, The requirement is to assign G/L account number (EKKN-SAKTO) based on vendor account group, material type and account assignment category. I have tried with some user exits and unfortunately i was not succeeded in finding out the correct one.

  • Location field to be automatically adopted to lower level WBSE

    Dear SAP Gurus, We are going to give the location to Level 3 WBSE. Now that Location field need to get copied to level 4 WBSE. How this automatic assignment will be carried out ? Thanks & regards, Pradip