Search Layout Set

Hi all,
We are trying to implement 2 search layout sets such that one layout renders the search result to end users without the 'Details' link and the other renders the results to Content administrators with the Details link.
If it would be considerably easier we wouldn't mind having two separate search iviews carrying two distinct Layout sets and then assign the respective Iviews to the respective roles.
We're on EP 6 SP4.
Thanks

hi
First duplicate the existing layoutsets by going to systemadministration>systemconfiguration> Knowledgemanagement> contentManagement>user interface
using duplicate and then remove the command groups from the  displayed list for details and save it in the iview level use in property editoe use layoutset as your duplicated one and layoutset mode as FORCE.hope this helps you.please do n,t forget to give points
with regards
subrato kundu

Similar Messages

  • 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

  • Search result category with a custom layout set?

    Greetings,
    I've created a nice little search IVIEW with a custom search options set that will display the document category (taxonomy) in the search result (if the resulting document is categorized, of course.)  Works great.  However there is one little problem.  The categories in the search results are hyperlinked and when you select one, you get a new window with the taxonomy rendered in the default layout set (the ConsumerExplorer I think.)  Not good.  I need this displayed in a custom layout set.
    Any ideas how to make this hyperlink use a custom layout set without changing the default?
    Regards,
    Paul Federighi

    Hi Paul,
    As per my knowledge of the basic s of layout sets and iviews.
    You want to change the layout set of the iview(window) which opens when u click the hyperlink.
    You should do this:
    1)Make a new layout set by customizing the default one.
    2)If the iview opening is a standard iview then go to its properties and change the Layout set value to ur new layout.
    Please revert in case of issues.
    I hope it helps.
    Regards,
    Sumit

  • How to use Result Search (TREX) Impagination in customize Layout Set

    Hello Experts
    We are using a customise Layout Set get from "NewsBrowser" duplication..
    At the moment we are using it to show the first three documents of a km folder, but that folder contains a lot of documents and in the bottom of the iview are showed many link for the other files (es. "<u>1-3</u> <u>4-7</u> <u>8-11</u> ... etc etc").
    We would like to use the same impagination used in the result search list, when you do a search with the TREX the link for the other impagination does not show all the result, but in the bottom of the iview I can see a link as "<u>1-10</u> <u>Continue</u>" ...
    I can I set the same in my customised Layout Set??
    Could you help me??
    Best Regards

    Hi Maurizio Ledda 
    For these u need to change UI Search
    system admin. -- system config --- knowledge mangement content managementuser interface -- show advanced options -- search -- search options set --
    UI search -- Un check SHOW NO. OF HITS  option -- save
    and log off and login and search documents u will get like this "1-10 More"
    Regards
    Krishna.

  • Search UI Layout Set

    Hi,
    I have configured a Search iView with my own Layout Set (advanced copy of SearchResultLayoutSet as XYZSearchResultLayoutSet). The search results successfully display using XYZSearchResultLayoutSet. I have a <u>See Also</u> link.
    The problem is, when I click the <u>See Also</u> link, the new results do not display in the Layout Set that I created - XYZSearchResultLayoutSet. Can someone please help me understand why this happens.
    One thing I tried was to change the Parameters under see_also command and put rndLayoutSet=XYZSearchResultLayoutSet.
    Thank you,
    Lakshmi.

    Hi Sascha,
    Why did you delete the message? Good thing I got an email. It solved my problem. Full points to you. Thank you!
    For anyone else with the same problem, the link was:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/4ff640365d8566e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/4ff640365d8566e10000000a1550b0/frameset.htm</a>

  • 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

  • Layout Set: How to add a new field in a layout Set?

    Hi ABAPPERS.
    Question:
    How can I add a new field in a layout set?
    Scenario:
    QC21 uses a global Layout Set ZQMECOA_GLOBAL.
    There's a field required in this Layout Set which is Production Date(CAUFVD-GLTRP).
    Where is the date query happening here?
    Where can I insert the SELECT statement for the new field required?
    I try to look at:
    OPEN_FORM and WRITE_FORM, it seems that date query or SELECTION of data is not happening here.
    Thanks.

    If you are adding a header field then you will extend the header structure in CRM and do the same with Item structures for Item fields. You will use EEWB or similar technique in the CRM backend to extend the header or item.
    These extended fields in the backed are available in customer_h or _i structures in the order object that can be read and modified in the Header BAdI or Item BAdi.
    If you think that this message is cryptic or not enough, then you should search for Extension Guide in this forum and read the document.

  • How can we customize the no of rows in Search options set?

    Hi all,
    I am using EP6 SP14, and i need to display the news from a folder based on a filter criteria ( like regions, etc) i am using a KM search iview with a query to search the items of the folder and the corresponding search options set limits the no of rows to a min 5 but i need only 3 items to be displayed with the page links to the browse the rest of the news. Can anyone suggest me if there is any way of customizing the no of rows or else i am thinking of using a KM navigation iview and using the corresponding query but strangely the layout doesnt work.....Anything i need to do more to limit the no of items to be displayed?
    Help would be greatly appreciated ,
    Santosh Kumar
    Edited by: Santosh Kumar Adapa on Nov 11, 2008 8:16 AM

    Hi Santosh,
    how about developing your own search?
    These blogs gives you a nice introduction of how to implement
    [How to write a Search Application using the KM Indexmanagement API for TREX|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5586]:
    [Using the KM Indexmanagement APIs for searching with TREX|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9237e490-0201-0010-f3a1-9a322ccbd8b1]
    Best regards,
    Denis

  • Rendering ResourceList with layout set

    Hi,
    in a custom program I get a list of resources, which i want to display to the user.
    At the moment I display the list with hard coded HTMLB elements, which is not really flexible regarding layout issues and also not very comfortable.
    So I want to render my list with a layout set, as the KM Navigation iView does.
    Does anyone know how i can pass a ResourceList to a layout set, so that the km framework renders my list with it??
    Any ideas?
    Many thanks
    Regards
    Alex

    Hi,
    I can think of two options then:
    1. If you're using Trex, then perhaps you can use the Basic KM search iView and manipulate the search option set and search component set it uses for getting the right results. Similar to the 10 Last Documents scenario.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/45bcc1c0-0d01-0010-1094-fe7993416ea6]
    2. If 1 doesn't work for you could try to implement a namespace filter. the idea is the same as a resource list filter but it works on a repository level. the good thing about it is that you can maintain properties for it. the bad thing is that it will run every time the repository is accessed so you need to find a way to limit it to your needs.
    [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2556]
    Option No.1 seems much better to me (if it's possible).
    Best regards,
    Avishai Zamir

  • How to get KM Layout Set Description

    Hello,
    Can we get the Layout Set description through KM API?
    We are able to get all existing Layout sets using String[] ids=layoutService.getAllLayoutSetIDs(); but we want descriptions also for these Layout Sets
    Please let me know if anybody have an idea
    Thanks

    Hi Bobby,
    For 7.3, it is
    IConfigManager configManager = ConfigHelper.getConfigManager(request.getUser());
    IConfigPlugin catPlugin = configManager.getConfigPlugin("/cm/ui/settings");
    IMutableConfigurable myConfigurable = catPlugin.getConfigurable("AdminExplorer");
    String desc = myConfigurable.getPropertyValue("description");
    For this code, the only SharingReference needed is "SAPJ2EE::service:sap.com/tckmconfig~srv".
    For 7.0, things are slightly different, but if you search for "IConfigPlugin" on SDN, you will get the stuff needed immediately.
    Hope it helps
    Detlev

  • Custom Layout Set

    Hi people.
    I am trying to create new, custom layout set, by copying existing sets and adding / removing features.
    My target is to create a layout set similar to ConsumerExplorer, but with a small addition - "Search" option.
    I have tried to play with the Admin breadcrumb, and also tried to add "Search from here" command through UI Commands, but unsuccessful.
    Could anyone please tell me how I can add the "Search" option to ConsumerExplorer without showing the whole admin toolbar?
    Points will be awarded, of course.

    Hi,
    The standard ConsumerExplorer layout set contains the Search from here command as part of the hover menu of the root element. Can you explain what exactly do you need?
    Best regards,
    Avishai Zamir

  • How to change a folder layout set using KM api?

    Hello,
    I'm developing a program using KM api that creates different folders with properties, permissions, ... I want to use a different layout set depending on the folder that i am browsing, but these folders are created dinamically, so I cant set a different layouts set for each one manually (Details > Display > ...).
    Does anybody know how I could do it using KM api? I mean, that every time I create a folder using KM api I should assaing dinamically the default layout set for this folder. I searched in the api and examples and I didn't find anything.
    Thanks in advance and best regards,
    JC

    Hi all,
    Problem solved... I decompiled standard code and I did what SAP do when they want to change a folder layout set:
    IResourceContext context = ResourceFactory.getInstance().getServiceContext("cmadmin_service");
    com.sapportals.portal.security.usermanagement.IUser puser = context.getUser();
    ICollection collection = (ICollection)ResourceFactory.getInstance().getResource(RID.getRID("folder_path"),context);
    IRepositoryServiceFactory factory = ResourceFactory.getInstance().getServiceFactory();
    ILayoutService layoutService = (ILayoutService)factory.getRepositoryService(collection, "LayoutRepositoryService");
    ILayoutContext userContext = layoutService.getContextForUser(puser, "");
    ContextProperties commonProperties = new ContextProperties(layoutService, collection, userContext.getAnonymousContext(), layoutService.getProfiles(), new HashMap());
    commonProperties.initFromPersistence();
    commonProperties.setSelectedProfileID("LayoutSetProfile");
    commonProperties.setSelectedLayoutsetID("ID_of_my_layout_set");
    ArrayList errormsg = new ArrayList();
    commonProperties.save(null, errormsg, false);
    Thanks and regards,
    jc!

  • Putting Filter on an Entity Search Layout

    Hello,
    I am working on an On Demand project and i am facing the following issue:
    Scenario: In Account Search look up window (one that pops up when we are associating an account to a contact), i want to display only the Accounts whose Account Status value is 'Active'. Is there a way to set this filter on the search layout? As in, i need not filter the search manually every time i am associating an account to some other entity.
    Please Advise.
    Ramil

    I hate to nitpick, but I'd adjust Richard's code just a little bit. The -Filter parameter is supposed to take a string, not a scriptblock. Scriptblocks are shown in so many Microsoft examples, but in every instance (that I know of, at least) a string is
    supposed to be supplied instead.
    Get-ADGroup -Filter "HomePage -notlike '*'"
    EDIT: I was wondering why I kept getting an error when I tried to propose Richard's post as an answer, looks like Tommy beat me to it. =]
    Don't retire TechNet! -
    (Don't give up yet - 12,420+ strong and growing)

  • Customizing parent folder link options in DiscussionForum Layout set

    Hi All,
    I have created a forum page with discussionForum layout set.Now, it shows the discussion groups inside it with parent folder link at the top.this parent folder link has some options like view,coolaboration,details etc which I need to customize...
    By parent folder I mean like if A has x,y,z discussion groups:
    If you click on x then, parent folder link changes to:
    A-->x...there is a option menu just besides this link which I need to customize.
    Can anyone give a clear idea to this problem??
    With Regards,
    Udit

    Hi Udit,
    Pls follow the below steps,
    1. Go to sys admin> sys configuration> Knowledgemanagement --> content management -- >user interface.> settings> layout set
    2. Search for Discussion layout set and open it.
    3. In Collection renderer field, click on the link discussion group bread crumb
    4. In the subsequent window, click on the collection command group : discussiongroupbreadcrumbcommandgroup.
    5.in the next window, edit the command list field as per your requirement and save.
    Pls reward for helpful answer.
    Rgds,
    Siva

  • Layout Set Strange Problem

    HI all
    I have created new Layout Set - advanced copy of ConsumerExplorer-  with some changes. This layout set is assigned to <b>KM  Navigation iView</b> and as a <b>Search Results Layout Set</b>.
    In this layout set in <b>KM_ConsumerCollectionRenderer</b>, in <b>Displayed Properties</b> we have put some custom properties. Some of the properties are of type <b>String</b> and other are of type <b>Date.</b>
    When we see the docs in KM Navigation iView only properties having String type are getting displayed. Properties of type<b> Date</b> are displayed as blank.
    But when we search for the same document its all properties are displayed including of type Date.
    I am wondering, I have used same Layout Set for KM Navigation and Search iviews, but KM Navigation has some problems.
    Please reply immediately.

    Hi,
           Can you check by going to "presentation" in folder>details>settings>select profile> choose other layout. Under the "properties to show" tab you can click on the "add" button and choose the properties. Check the preview. By this we can check if there is any problem specific to the layout set you are using before.
    Ramesh Kotagiri

Maybe you are looking for

  • Mac Pro 2.66 Quad - Hardware Test error

    Hi all ! I am trying to help out someone in another state with their Mac Pro problem so bear with me ... The machine is a MacPro 2009 I believe, 2.66GHz Quad. and it's having startup issues - at the moment it's NOT starting so I am told ! Before it w

  • Vendor code with the same name - Check required

    Hi experts, We are using three account groups for creating vendor thru tcode XK01. A/C group 1000, 2000, 3000 & two company codes SCL , SGL. We want to built some error msg control that if some body tries to create vendor with the same name again wit

  • Combining fillable pdfs leads to issue

    I created a fillable pdf in Acrobat a while ago and extended features in Adobe Reader to create it. I created another fillable pdf months later the same way. And then I decided to merge the two because I needed them to be together. I highlighted both

  • White space on side of image with Flash content

    this is what my screen looks like..too much white on each side mar

  • Macbook Pro Core Duo, Normal heat problems???

    Hi guys. I have a First Generation Macbook Pro, i bought it like 8 months ago from ebay. The guy that sold me this mac told me that it doesn't have any heat problems at all, but im just, im sorry, i can't say the same right now. Since i receive, when