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

Similar Messages

  • Xml forms not rendered in default layout set - urgent

    Hi guys,
    I've to display several properties and to provide the rating and feedback service in conjunction with xml forms because a "NewsRenderer" doesn't support the display of additional properties.
    So I tried to use one of the default layout sets (e.g. "Consumer Explorer") but the <b>xml forms are not rendered after selecting the "contentLink"</b> (displays raw content of xml document). I'm looking quite a long for a command that opens and renders the xml forms in a new window - without any success...
    Please help! TIA
    Regards
    Joerg

    hi,
    you have to create a XMLForms Repository Filter. Check this link:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/21/8df33eef091f39e10000000a114084/frameset.htm">XMLForms Repository Filter</a>

  • Sorting with layout set for NewsBrowser and custom made properties

    Hi
    I have developed some custom made properties that is used for each document based on XML Form. But how can I obtain a custom sorting order based on my properties.
    After created a document I define some properties for company, department and process. And using the layout set for NewsBrowser I will have my documents sorted due to my processes. Lets say that I have set the properties for the process for some documents, e.g. SA1010, SA1010-1, SA1010-1a, how to obtain this sorting order in a KM-Navigation-iView using layout set for NewsBrowser?
    Regards
    Kay-Arne
    Message was edited by: Kay-Arne S.  Aarlie

    Hi Kay-Arne,
    A namespace defines a system area in which a property (defined by a property ID) is allowed to exist only once. So for your own predefined properties you should use an own namespace in order to be able to use a Property ID that is already available in another namespace. Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/9a4a3b80f2ec40aa7456bc87a94259/frameset.htm
    In the Property Definition you later use the Namespace Alias. This alias (with ":PropertyID") you would also use in the LayoutSet Parameter mentioned above.
    Hope this clarify things ,
    Robert

  • Requirement based Layout Set

    Hi,
            Our user has following requirements for an iview appearance.The iview (let us suppose it a km navigation iview)
    is pointing to one folder.It shows all documents internal to the Folder.There should be no context menu  as these documents are meant for readers not for editors (we have a different iview for editors).
            The Problem is sometimes there can be folders internal to the folder, in that case we are not able to come back as there is no breadcrumb bar.Presently we are using NewsBrowser Layout.
    At last I want to summarise the requirements
    1) The Documents or Folders should not have context menu.
    2) the list of documents should appear as links.
    3) there should be breadcrumb bar available so as there are folders internal to folders + Documents and we need to come back to the Folder again.
    Note: the News Browser Layout is fulfilling all the requirements apart from the fact that it is not showing breadcrumb bar.
    It would be nice if we can change this Layout by adding breadcrumb bar.I have tried this by changing the Collection renderer but not success full.
    Please suggest any Layout which can fulfill these requirements.Otherwise please suggest how can we create a customized Layout set for fulfilling above requirements

    Go to System Administration --> System Configuration --> Knowledge Management --> Content Management --> User Interface --> Settings --> Layout set.
    Search for the layout set you want to add the collection renderer to using the "Apply Filter" option.
    Edit your Layout set.
    When you click on edit after choosing a layout set, you will see a property called "Collection renderer" in the layout set definition. It is a table with lots of entries. Scroll down to your collection renderer and click on the checkbox next to it.
    Then Save the Layout set.
    This should add the collection renderer to the layout set.
    Pradeep

  • 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

  • Export Quicktime movie is not rendering video track, just the audio track. However, everything works when using Quicktime Conversion menu options. What is wrong with my setting for Export Quicktime movie?

    Export>Quicktime movie is not rendering video track, just the audio track. However, everything works when using Quicktime Conversion menu options. What is wrong with my setting for Export>Quicktime movie?

    When you converted the original files via MPEG Streamclip, what did you convert them to?
    Have you tried trashing your preferences in FCP? Trashing FCP prefs is usually the first step when FCP is performing strangely.
    Download Preference Manager from Digital Rebellion (free) at:
    http://www.digitalrebellion.com/prefman/
    It will allow you to archive your current preferences if you wish to restore them later.
    MtD

  • Layout Set not working

    Hi all,
    I am trying to fulfill a requirement here which is to hide the "Edit Header" control on the Banner iView. I found out that this is defined in the "Components" property in the HTML Collection Renderer Settings. When i omit the component on this property, the Banner iView hides the control. So far, so good.
    Now, as i need 2 instances of the layout set (one with the component and other without) i did this:
    1) Copied the layout set to a custom one
    2) Copied the HTML Renderer to a custom one
    3) Omitted the component on the custom HTML Renderer
    4) Changed the renderer on the custom layout set to point to the new renderer
    5) Copied the Banner iView and customized it on the property "Layout Setting", putting the name of the custom layout set.
    And this won't work! When i use this iView, instead of showing the Banner and Title, it shows a KM navigation structure with the Images directory (base directory of Banners). Do you know what may be wrong? I am sure that the problem occurs when i change the iView property to point to the custom layout set. But what is wrong?

    Hi all,
    I've posted this yesterday and had no reply... can anyone help on this case? I've tried everything and nothing seems to work.
    Thanks in advance!
    Thiago

  • Create combination of two layout sets

    Hello,
    I would like to create new layout set for KM Navigation iView. That should be combination of TabExplorer layout and ConsumerThumbnailExplorer layout. There have to be folders displayed like tabs on the top of screen and list of documents (with thumbnails) which belong selected folder. I've tried to combine both of the standard layouts but no results.
    Could someone help me with that?
    Thank you in advance!
    Regards
    Zbynek

    Hi Sybille,
    in my opinion it is the best approach to write a Property Renderer no matter if you want to show the Property URLArisExport as link to another property or as an icon (with a link).
    It should be no big implementation task.
    BUT: I found out that there is really a modifier called "contentLinkCommand" (as you stated above) but I can not tell you if it's in SP2 Patch 35 and was not even able to use it in my version.
    Maybe some colleague from KM development can supply some information here.
    Best regards from the north part of Germany,
    Robert

  • NEED HELP IN:  layout set in favorites

    Hello again,
    the favorites iView use the Layout Set "LinkListExplorer". In the iview is a link "edit", which open a new iView with the Layout Set "LinkListMaintenance".  I have modified the second layout Set and saved it under xxLinkListMaintenance.
    Now, I need to know how to put the layout set xxLinkListMaintenance in touch with the first layout set LinkListExplorer.
    Please help!
    Thanks a lot
    Sybille

    Hi Sybille,
    you always want to change the hard coded things
    The way:
    1.) Decompile <i>com.sapportals.wcm.rendering.collection.cm.LinkListCollectionRenderer</i> within <i>km.appl.ui.flex.collection_core.jar</i> within <i>...\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.ui.flex\private\lib</i>
    2.) In line 530 (<i>query.add("rndLayoutSet", "LinkListMaintenance");</i>), replace the LayoutSet with the one of your choice.
    3.) Create a new portal application with this CollectionRenderer and a bootstrap service.
    4.) Define this CollectionRenderer within KM (map a name to the class).
    5.) Create a new LayoutSet <i>xxLinkListExplorer</i> copied from <i>LinkListExplorer</i> but with the new CollectionRenderer.
    Hope it helps
    Detlev
    PS:
    - If you need assistance, you know the experts
    - Better forum would have been KMC

  • Cannot change number of rows in layout set

    I have created a layout set with a custom Collection Grid Renderer to show XML forms news items. I have changed the <i>number of rows</i> property to <i>3</i> to set the number of items to display to 3, but only one item is displayed.
    I have changed this setting successfully before. Does anyone know why this is happening?
    Thanks in advance!

    Is there really nobody out there who faced this problem?
    Please help!

  • Translation of layout set properties

    Hello,
    I created a custom layout set to display customized properties: size, date of creation and date of last modification.
    All is good, except that i need to translate column headers to different languages. I added them in collection renderer settings (displayed proeprties: contentlength, created, modified)
    I know how to do translate using Portal Content Translation, but these translation are for portal content items only. How do i translate those  i.e column header names)
    Any help will be appreciated!

    Wrong space, this is the Netweaver Gateway space - nothing to do with Portal Content!

  • 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

  • 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

  • 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 - Suggestions?

    Overview
    I have a KM iView that allows users to create forms and store them in a KM folder (/documents/broadcasts). 
    So when the user accesses the iView they see a left Menu Tree displaying:
    Broadcast
         - Folder 1
         - Folder 2
         - Folder 3
    When the user clicks on their folder they see the forms they have created.  In order to create a new form the user clicks Folder->New->Forms this allows them to select between News or Announcement.  When they make a selection the correct form shows up etc...
    Everything works fine but I would like to simplify things for the End users.  Here is what I would like to change:
    Issue 1
    There is a horizontal menu above the Menu Tree showing 5 context menus (View, Folder, Selection, GoTo, and Search).  I really don't want users to have access to all of these menus but since I didn't create any of this I am unsure how to remove the menus.  I am assuming they come with the Layout Set used for the iView?
    Issue 2
    Having the user click Folder->New->Forms is also very confusing and I would rather have just the New menu at the top (as WPC shows) which gives the user the News and Announcement options.  So they would Click New->Forms or just New->
    If anyone has any suggestions or pointers I would appriciate it.

    Hi TA,
    I would suggest using 2 layout sets... The NewsExplorer layout set for the sub-folders and maybe ConsumerExplorer for the root layout set.  The iView would have the "Layout Set" as NewsExplorer and the "Layout Set for Root Collection" as ConsumerExplorer.
    You might need to make a copy of the NewsExplorer layout set and add the 'Back' button to the collection renderer so users can get back out of the sub-folders.
    Issue 1 will be handled by the fact that you're not using the AdminExplorer or other Tree List with Menu layout set.
    Issue 2 should be handled by the NewsExplorer layout set which just gives a list of the Forms available to the folder with 'new' in front.
    [New News|]         [New Announcement|]
    ItemListRenderer 1
    ItemListRenderer 2
    Good-Luck.
    Regards,
    Graham
    Edited by: Graham Hoggard on Feb 18, 2009 7:14 PM

Maybe you are looking for