Creating layout set for custoom ivew rookie

Hi, I want to do a simple iview where I display some news/articles. So I made the iview, set the "Path to Initially Displayed Folder" in documents/news/mynews and in that directory I created some forms. So now when I preview the ivew, I see the news/articles. Next step was to think how to display only the last 3 articles from that folder. and also have a link "go to archive" or something to display them all in a popup. Someone told me I have to make a layout set for that but I don;t know where to start. I tried googling about layout sets, collection renderer and resource renderer...what do they do, their rolse/use etc but haven't been able to put things head to head. Can someone give me some pointers on how to achieve this?
10x in advance

Hi,
To show only last 3 documents, check this:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/45bcc1c0-0d01-0010-1094-fe7993416ea6
One more idea would be to show 3 documents using KM Navigation IView like this:
https://forums.sdn.sap.com/thread.jspa?threadID=229784
To show archieved files, you are right you should just change the layoutset, check this:
https://forums.sdn.sap.com/thread.jspa?threadID=825252
Regards,
Praveen Gudapati

Similar Messages

  • 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

  • Layout Set for custom Iview

    Hi Experts,
           I have created jspdynpage application for getting documents fron Km Folder. i have done this, but i want to set "Context Menu" for link (documents) in that iview. How can i do this.. I have added property called Layout Set for my iview and assign layout Set , but no effect. How to assign layout set for custom developed iview???
    Thanks Advance....
    Regards,
    Kumar.

    Hi praveen,
    is possible to show context menu for portal development iview (custom iView)?.
    I cant use KM Navigation iView, because I am listing members, each member should be a link.. this link is not possible in KM navigation..
    Albert
    Amjeth
    Bala
    Praveen
    Senthil
    I will show like above, here if i click the albert it will get the Albert details. and other members can rate the albert (so we need context menu)..
    how can i achieve this?.
    Regards,
    Kumar

  • How to Modify the standard layout set for Sales Order

    Hi all,
    Do we have any sap defined standard to modify the sales order,if no How to Modify the standard layout set for Sales Order,an also plz send me the step by step procedure for the same.
    Thanks in advance
    Santosh R

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • Modify layout set for go to all depth

    Hi experts,
    I have a problem, i´m changing a layout set that allow show all documents in all depth of folders, is it possible?
    Thanks in advance,
    Regards,

    Hi Puneet!!
    First, thanks for your answer!!
    Second, I am changing my collection renderer / resource renderer but I don't found the property search it in all folders,
    any idea?
    thanks by advanced

  • Layout set for the link within the portal favorites

    Hi,
    I added a link to a KM folder in my portal favorites and when I click on this link, it opens this folder in a new window but with a standard layout set.
    How can I use my own layout set when I open this folder from my portal favorites ?
    Thanks,
    Loïc LEVEUGLE

    Thanks for your answer Sumit.
    In fact, I just had to change the "layout set" property of the iView "Km Navigation iView" of the folder "/Content Provided by SAP/End User Content/Standard Portal Users/iViews/com.sap.km.iviews/URL Access/" of the PCD.
    Loïc LEVEUGLE

  • Layout set for XML Forms.

    Hi,
    I am developing a 'who is who' (contacts) page using XML Form builder.
    Now, I want each contact to be displayed in a credit card design.
    So, I could think about two different options for that
    1. Adding the design as a background image. tried to add in the XML form itself; but it is not properly rendering. Is there any option to set it using Layout set(CollectionRenderer)?
    2. Adding style sheet in XML form builder itself. But I am completely illiterate about this. Can write the design in a css file?
    I could find two options in the FORM
    Row Style:
    (Style sheet for the table rows)
    Column Style:
    (Style sheet for the table columns.)
    Can some one provide me a solution? or suggest some better solution.?
    Regards,
    Jelbin

    Hi,
    Just explain your requirement in Single line. What you want to do in XML form? What is your requirement?
    Thanks,
    Mahendran B.

  • Inpection lot created when set for 'No inspection' in Qinfo record

    Hi All,
    We set for Material and Vendor in Qinfo record as  'No Inspection' but when we do Goods receipt it creates Inspection lot. I read help files on it, but could not figure out the reason so I am here at SDN, does any one had similar problem or does any know the solution?
    Thank you,
    Jagadish

    Hi,
      Follow these steps:
      1.Create Material Master Record with QM View.
      2.Activate QM Proc/ Specify Control Key  0001.
      3. choose Inspn set up and inspn type to be entered as 01 and set the active indicator.
    4. Create Q-info record with material / vendor.
      5. Enter the release by date as 31.12.9999
      6.Set the inspn control as No inspection.
    7.Create inspn plan with usage 5 and status 4and enter the control key as PPQM.
    8.Choose the operation and assign the inspn characteristic / sampling procedure
      9.MD61/MD02/MD04
    10 Convert the Purchase requisition as Purchase Order.
    11. Receive the Material against the PO.
    12. Now the stock will be posted to unrestricted use stock.
    13. No inspn lot will be created.
    Regards,
    nandha

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

  • 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

  • Creating a NetInstall Set for '10 MacBook

    I am attempting to create a NetInstall set for a brand new Intel MacBook running 10.6. I have used Bombich's NetRestore Helper in the past for set creations but the last version (3.4.6) hangs and will never complete the set creation. Is there any other way to create a set for a 10.6 machine? I've looked into Deploy Studio but I don't have anything set up yet and I'd like to continue with my current setup for the time being. I'm running 10.5.8 server and all other machine types boot fine for NetInstall purposes. Just the newest machines have trouble. Any help would be appreciated. Thank you in advance.

    Last I heard, Bombich's tool didn't work in SnowLeopard. You can use Apple's System Image Utility, but you'll have to download the 10.6.3 Server Admin Tools and install in on a Snow Leopard client system.

  • 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

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

  • 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

  • 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

  • Saving all data from a while loop

    I already asked a similar question but it might not be very clear and there were some concepts that I could not well understand. 1. I have a key pad to generate DTMF stream signal (I call it stream because it contains multiple tones which make up of

  • Pictures on iphone not showing up on mac pro

    Just purchased a new iphone.  when I take a picture using the phone and then go to my mac book pro.  it's not showing up on my mac book pro in my photos.  thought the automatically pushed to lap tops and ipads??  I have plugged in the phone after tak

  • Short dump in delta extract  using bgRFC in NW 2004s

    Short dump in delta extract after Support Pack install, using bgRFC.  InfoSet Query extractor from Z-table residing on BW system into ODS.  Init and Full loads load successfully, delta loads short dump. "MESSAGE_TYPE_X"         "SAPLARFC" or "LARFCU2

  • I give up on my N78-3

    I've had the N78 for 8 weeks now and I've just sent it in to Nokia for repairs. I'm fully aware that my N78 really just needs a firmware update but I've run out of ideas. Nokia Customer Care acknowledges there are problems but no one knows if or when

  • HT2534 The "none" option is not there!what to do?i am a student and i don't have a credit card.

    The "none" option is not there!what to do?i am a student and i don't have a credit card.