How to change the layout set for Search Results

Hi gurus.
I’m developing a search component for KM Search iView, and as a requirement the layout must change dynamically to display the search results.  How do I get this to happen?
public SearchParamsMap getSearchParamsMap() {
     SearchParamsMap m = new SearchParamsMap();
          try {
          IQueryEntryList list =                   this.createQuery();
               m.put(SearchParamConst.PARAM_SEARCH_QUERY_ENTRIES,                list);
          } catch (WcmException e) {
               e.printStackTrace();
          m.put(
               SearchParamConst.PARAM_SEARCH_IN,
               SearchParamConst.SEARCH_FROM_FOLDER);
          m.put(SearchParamConst.PARAM_SEARCH_FOLDER, path);
          return m;
private IQueryEntryList createQuery() throws WcmException {
          Hashtable searchParameters = new Hashtable();
          searchParameters.put(
               SearchParamConst.PARAM_ITEMS_SELECTION,
               SearchParamConst.ITEM_ONLY_DOCS);
          searchParameters.put(
               SearchParamConst.RESULT_LAYOUT_SET,
               "Sed_Comunicados");
          SearchQueryListBuilder sqb =
               new SearchQueryListBuilder(searchParameters);
          IQueryEntryList qel = sqb.buildSearchQueryList();
          return qel;
In the createQuery() method, code searchParameters.put(
               SearchParamConst.RESULT_LAYOUT_SET,
               "Sed_Comunicados"); is not working.  Also, where do I find the documentation for Class SearchParamConst?

I have the same question.  Any help will be greatly appreciated.

Similar Messages

  • How to change the account setting for App Store

    My last question wasn't so clear, so I would like to post again. I want to know how to change the account setting for App Store. I have changed in the Settings but it doesn't reflect in App Store.
    Thanks,

    once you sign out just click sign in and put the new email address in the "Username" field and your correct password then click OK
    it will look like it is doing nothing but give it time and it will sign you in with the new username.
    is it possible you have multiple itunes accounts?
    when you changed your itunes account from your me.com to your gmail.com address did you change it within the itunes Edit Account Info ('Store' menu then select 'View My Account', then sign in , select edit account info) or did you just create another itunes account?
    be well

  • How to change the default browser for "Search in Google" pop-up menu?

    This issue has come up for the last three OS X releases, at least, and it's still here for Lion.
    I'm in Apple Mail and select some text. I want to search on the term using Google. Right-click brings up the context menu with "Search in Google." This inevitably results in Safari opening for the search.
    Chrome is definitely set as my default browser. Clicking links in email messages brings them up in the proper browser. "Search in Google" does not. Wherever this context menu item is selected (Mail, TextEdit, etc.) it opens Safari instead of the default browser.
    As far as I'm concerned, that makes the context menu item useless, since I do not use Safari.
    Has anyone figured out a workaround?
    Has anyone in the OS X team at Apple paid attention to this issue? It is not new.

    This post helped me.
    https://code.google.com/p/chromium/issues/detail?id=147510
    Basically, the "Search in Google" extension is from Safari and it can be disabled in System Preferences.
    System Preferences -> Keyboard -> Keyboard Shortcuts -> Services -> Searching and unchecking "Search with Google"
    It worked for me and I also disabled a few other right-click options that I never use.

  • How to change the default setting for Output Preview

    Good afternoon! I use the Output Preview feature under Advanced > Print Production quite a bit, to preview the rendering in one specific simulation profile (for me, its Web Coated SWOP 2006 Grade 3 Paper).
    Is there any way to set the default to be a specific profile, instead of the one that keeps coming up (Output Intent: CGATS TR 001)?
    It's very time consuming to have to repeatedly select my profile everytime I open a PDF and gauge the file in Output Preview.
    Any help would be greatly appreciated... thanks!
    - Johnny

    All you need to do is set the default CMYK (under Preferences > Color Management) to the profile you use the most. It will then default to that profile in Output Preview, unless it has an Output Intent specified.

  • How do you change the default setting for RTF documents from TextEdit to MS Word

    How do you change the default setting for RTF documents from TextEdit to MS Word, I download forms from the Canadian government and they use RTF as a standard, they are supposed to open as MS Word documents (Yes I have Office for MAC 2011) but when download the document it goes to TextEdit which messes up the form format. I can down load it right click and go "open with" MS Word but how can I get the default chnaged to save this step.

    richr604 wrote:
    Thanks I knew this, I like Safari as I want to keep everything MAC, but if I use Firefox the documents open in MS Word straight away, I was just curious if there was some setting I could change?
    In Firefox > Preferences, click the Applications tab. If RTF is there, use the pulldown menu in the Action column to pick MS Word. If RTF is not there, there are instructions here for how to add file types.

  • How can I change the default setting for downloading photos from email?

    How can I change the default setting for downloading photos from emails I receive?  It shows the default as Photoshop Elements 4.0 and is not supported by this system.  That was my last computer!!
    Thanks,
    Sheila

    That has nothing to do with styles nor Pages, it is a System/Printer Driver setting.
    You can experiment to see if the Printer Settings stick with your document, but in the past this has not worked.
    Peter

  • How to change the browser used for Google search from context menu of selected text?

    How to change the browser used for Google search from context menu of selected text?
    It uses Safari. But I want to use Chrome (it's my default browser).

    How to change the browser used for Google search from context menu of selected text?
    It uses Safari. But I want to use Chrome (it's my default browser).

  • How to change the layout of the desktop before you login as a User into iPS.

    I am trying to change the layout of the anonymous user desktop. I know how to change the layout after i login as a User. All the thin channels except one get lined up in the first column of a thin-thick-thin layout.
    How to change that?
    Any help is greatly appreciated.
    Hugo Victor

    Go to available channel list and the select show advanced options, you should see the row and column attributes for the channel. Set it to your choice ..

  • Change the default setting for report painter reports.

    HI All
    Can we change the default setting in SAP/R3  in the report painter reports  for the selection screen options?
    If yes,Please let  me know how we can change the default settings.
    Thanks in Advance
    Best regards
    Venu

    HI
    We have a report developed in the report painter for profit center accounting and we have selection screen for this report.
    Few of the selection screen fields parameter are set by default and we need to change the default setting for the selection screen fields parameters.
    How and where do we  set or change the default parameters for the selection screen ?
    Thanks in advance
    Best Regards
    Venugopal

  • How to change the layout of a category view

    I don't know how to change the layout of a category. I want to put 3 image's behind each other followed by some text, like a table with 4 columns. Instead of puting then in 4 rows

    larsprevo
    The category 'view' of items/folders uses the default style of the content area it is defined in (shared categories use the default shared style). Edit the default style to change the font/color of the items/folders returned within the category 'view'. Unfortunately, you don't have the ability to control the layout(like folder regions) - they always display in rows.
    Added an enhancement request for a feature that would allow you to control the display of items/folders in a category/perspective: 1828423

  • How to change the sysadmin password for maintenance wizard if you have forg

    How to change the sysadmin password for maintenance wizard if you have forgotten the password and can't log in.

    Log into SQL*Plus as the $EOFUSER and do:
    update eof_user set password = 'passwd_you_want' where user_id = 0;
    commit;
    -Vikki
    Product and Development Manager for Maintenance Wizard

  • How to change the Character Set from AL32UTF8 to WE8DEC

    Hello!!
    I want to know how to change the character set in the database from AL32UTF8 to WE8DEC.
    I tried to use the comand ALTER DATABASE CHARACTER SET but I got an error because WE8DEC is not a superset of AL32UTF8.
    I need to import tables from a server that uses WE8DEC. So when I do the import to my server, wich has AL32UTF8 , I can't import the rows that include an Ñ.
    So I want to change the caracter set to WE8DEC. How can I do it?
    Is it needed to change the language configuration? The remote server has AMERICAN_AMERICA, and my server has MEXICAN SPANISH_MEXICO (both uses text in spanish).
    Thanks a lot!!

    When you export from WE8DEC server what did you use
    for NLS_LANG char set? And when importing?
    The export was done in another computer because I can't do the export in the server (I have 10g, and the remote server has 9i and the export is not working). In my server, when I tried to do the import, the NS_LANG value was MEXICAN SPANISH_MEXICO.WE8MSWIN1252.
    When I try to import to my database I got the error:
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing USRMCR06's objects into PRIMARIZACION
    . . importing table "CHG_FONDOS_MARZO_CD_MOR"
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "PRIMARIZACION"."CHG_FONDOS_MARZO_CD_MOR".
    "NOMBRE" (actual: 41, maximum: 40)
    Column 1 16623436
    Column 2
    Column 3 Pymes_1
    Column 4

  • How to change the Safety Intervals for standard Content datasources

    Go to RSA2->give your datasource name ->setting up GEN delta
    It shows you whts the safety interval setting.
    <b>
    How to change the Safety Intervals for standard Content datasources since when I go to RSA2 edit and change options are always greyed out. let me know if there is any other transaction code or table to do this.</b>
    Thanks
    Soniya Kapoor

    Hi Soniya,
    1) try  RSA6.....also  RSA8 for additional info.
    2) useful link:
        http://help.sap.com/saphelp_nw04/helpdata/en/d0/4cc138944cfa06e10000000a11405a/content.htm
    Good luck, BB

  • How to change the Display Pattern for Decimal Fields dynamically

    hi all,
    Can any one help me how to change the display pattern for decimal fields dynamically???
    Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
    Please help me how to solve this ASAP.
    Thanks,
    Prabhu

    Hi,
    Alternatively you can handle it in the context.
    In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
    <quan field> NE initial.
    So the field will not be printed if there is no value.
    Regards,
    Vidya Chowdhary A.

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

Maybe you are looking for