Sorting KM news / xml forms

I've created xml forms / news.
The publication is working fine but,
   - the news are sorted by News name
and I would like to change the sorting
   - or by creating date
   - or by a specific field of the news' data model
Does someone have experience with this ?
Kind regards
Vincent

Hi Vincent,
It appears the default setting for the "NewsBrowser" are as follows:
Property for Sorting: modified
Sorting Mode: descending
This means the default NewsBrowser will renders all news articles
on the last modified date in descending order where the property
id modified maps to the property cm_modified.
There is no property existing called "date", if you wish to sort
the news articles on the creation date the property id you would
use is created which maps to the property cm_created, so you
parameters would look like this:
Property for Sorting: created
Sorting Mode: descending
Did you tried above configrations?
Best Regards
Anjali

Similar Messages

  • Error when creating new XML-Form

    Hi everybody!
    We are using XML-Forms to create/edit/display FAQs out of the KM-Content. We have created our own XMLForms for that and it worked fine. After our last upgrade (NW 7.0 SP-Stack 16) we have the following problem:
    clicking the "new FAQ" link in the portalruntime doesn't start the XML-Form anymore but displays an java error:
    java.lang.RuntimeException: Context is unavailable!
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:83)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6598)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryList(DMSRMR3FunctionCalls.java:6426)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryDescription(DMSRMR3FunctionCalls.java:6451)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getValueLabel(DMSRMLaboratoryValueProvider.java:47)
         at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:53)
         at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:79)
         at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.getLocalizedPropertyValue(PropertyLocalizer.java:294)
         at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.localize(PropertyLocalizer.java:208)
         at com.sapportals.wcm.service.xmlforms.transformation.TransformationHelper.localizeProperties(TransformationHelper.java:64)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:438)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderTemplate(Transformation.java:318)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:332)
         at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:348)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
    I don't have that behaviour when i try to edit an existign FAQ. But I have the same problem with any other XML-form i'm using to create KM-docs.
    to me it seems that the creation-context is somehow not valid. But what does that mean? and what can I do about it?
    Regrads, Alex

    Hi Alexander
    I think this thread might help you as it helped me, and it is the exact same error that you get
    https://www.sdn.sap.com/irj/sdn/thread?messageID=2943423#2943423
    Best regards,
    Martin Søgaard

  • Error in news xml form external link

    hi
    when i click on news form external link
    instead of opening page its giving
    Advertisement Blocked
    what could be reason

    hi its quite possible the the proxy server has blocked certain content or certain sites. Kindly post more details.
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • XML forms: Appending new news with previous ones

    Hi all
    I have created XML form for displaying news. I have created views for creating and viewing the news.
    What I need is that whenever the user creates a news , it should append the previous ones rather than generating a new xml form for it so that the reader can access it in one place.
    Can anybody help in this?
    Thanks and Regards

    Hi,
    try if the ListView fits your needs. Normally you would generate a detailled view for a single news and an abstract view for the list. But you are free to reuse the detailled view for the lists. That way, complete news items will appear in one big List (look for NewsExplorer) and can be scrolled there.
    You should alos check whether using listviews and explorer solves your problem without redundant displays. I prefer the Title/Abstract list and the details-popup.
    hope that helps
    Jan

  • XML Form Sort List Problem!

    Dear All
    I have modified the news xml form to include priority and actionable, which worked fine. Now I want to order my list so that it only display one value of the priority or actionable.
    My idea was to access the directory through an AbstractPortalComponent and then loop through the aResourceList and only display the news items with Priority = 1 ... But I can't seam to access the xml values ..
    Thanks in advance.
    Kevin

    hello,
    the reports parameter-form supports only the basic elements of creating a form. if you want to create a more complex/interactive parameter form, you have to use oracle forms to get the parameters and then call orace reports for that.
    alternativly you can use HTML as well.
    regards,
    the oracle reports team

  • Urgent - XML Form Builder - lnode

    Hi,
    Strange behaviour, i created a new XML Form Project and have defined a schema with some nodes (day, month, year, lead, body, link under root node), for data schema.
    I build the Edit form and run it, everything works fine until push save button, when i do this, i get an error message saying that "..star-tag link different from end-tag root...".
    I made some changes until i find that by simple removing the node link from data schema, everythings works fine, if put it again, gives the same error message.
    Is there any limitation of using a node link, under root node of data schema? Any one tried?
    EP6 SP11.
    Thanks and Regards,
    John

    Hi Darin,
    Changing the node name link to another think, was my first thought, but there are 2 issues:
    - What's the reason why a node named link doesn't work?(Looks like a "bug")
    - I have upgraded the portal from SR1 SP09 to SP11, and in SP09 i have already created some items with XML Form with this structure, and because of the upgrade, i have already to change all the XML Forms, because listShow and listEdit doesn't work anymore, and now, for some strange reason i can't see my old news, because doesn't accept de node named link and i can't rename the node named link, because this means that i have to re-save all old news items.
    Other think is, all XML Forms, incluind the standards ones, HTML editor are not working, clicking on any option available(Bold, Italic, ...), gives a message saying "[Object required]".
    If you get another thought on this, please tell me.
    Thanks and Regards,
    John

  • File name of xml form

    I have created a new xml form.
    For the name, I have used a label with property "displayname".
    When I save the form, in the KM I can view the file with the name that I assigned, but if I go with the mouse over the file I see in the button bar that the  original name is another.
    There is one methods to change this name ? or save the file with a fixed name ?

    Hi Loris,
    its not possible to save the XMLFormsItem with a fixed name. Every time you are creating a new item, there is a unique id generated which is used as "real" item name.
    This mechanism avoids conflicts with other items stored in that folder.
    Regards
    --Matthias

  • XML Forms - Cannot append a text to a document node.

    Hi,
    I just created a new xml form as a copy of another working    form.
    I changed a bit in it and tried to run both i preview an real. Edit worked and renderlistitem worked. On the Show I got the error in the bottom.
    I tried to remove all the elements again, down to the displayname. But still I get the same error.
    I'm on NW04s SP9
    XML - Forms 
    Error applying XSL stylesheet to XML
    com.sapportals.wcm.WcmException: com.sap.engine.lib.xml.util.NestedException: org.w3c.dom.DOMException: Cannot append a text to a document node. -> org.w3c.dom.DOMException: Cannot append a text to a document node.
         at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:284)
         at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformer.pipeIt(Transformer.java:133)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:105)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:77)
         at com.sapportals.wcm.service.xmlforms.transformation.HtmlGenerator.getHtmlStream(HtmlGenerator.java:122)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:391)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:222)
         at com.sapportals.wcm.app.xmlforms.PreviewServlet.sendForm(PreviewServlet.java:165)
         at com.sapportals.wcm.app.xmlforms.PreviewServlet.doGetAction(PreviewServlet.java:130)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi Rasmus,
    Quite probable your XSL is broken.
    > tried to remove all the elements again
    So two possibilities:
    (a) You tried to - but failed
    (b) You are the victim of a cache
    Wait for at most 30 minutes and/or recheck your changes.
    Hope it helps
    Detlev

  • Lifetime in xml forms - final users cannot see available docs

    Hi, I have a News xml forms project integrated with Approval process, and I want to integrate lifetime too.
    1) How do I to enable Lifetime??
    What I did is the following: I`ve enabled Lifetime in the folder containing the docs, and I setup manually the validto and validfrom properties (Details->Settings->Properties->Lifetime) of every doc, and the only people who can see the docs are those that have write permission on the folder (and myself too).
    I´ve read a lots of forums and I did everything that they say but successless.
    Could anybody help me??
    Well, Thanks in advance!!
    Marcelo
    ps: I didnt forget to publish every doc after I modified the valid to/from properties.   ideas?

    Hola Juan
    In my case, i had no CM System selected on Task Scheduler.
    So check System Administration -> System Configuration -> Knowledge Management -> Content Management -> Global Services -> Scheduler Tasks -> Check valid from -> TimeBasePublishingPublish
    (idem for Check valid until -> TimeBasePublishingUnpublish)
    At that point, you must check if you have selected any CM System, if not, select one. Help Sap says that that field is optional...but, well, as you can see, I had no cm system selected, and after I selected one, the lifetime began working very well.
    check <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/5b6635f5e0ef428fb513336881679b/frameset.htm">Scheduler Tasks for Time-Dependent Publishing</a>
    Hope it helps!!
    Regards
    Marcelo

  • XML Forms Template Translation

    Hi expertes!
    Customer is actively using XML templates for generating news and other KM content information.
    All the XML forms templates are created using XML forms builder and created in local language. The customer has customers in different countries and want to have the Templates translated so they can easily create forms in different languages. Ie: forms translated, buttons, headings and so on....
    One way of creating different templates would be to open up the local template in XML forms builder and make a copy(Save as) and translate the template, generate it and thus making template available in a different language. BUT this represents a lot of work if you have lets say 5-6 languages and all templates must be translated. Not to mention if you want to add a field, you would have to do it 5-6 times.
    Question?
    Are there any way of "translating" the XML template like you can do with "portal content translation" so you maintain only one XML form template but it changes according to the logon language of the portal?
    like adding "language filters" to one xml template
    Thanx in advance
    Trond

    Hi, Thanx to this Forums professional users
    ihave found the way of translating the XML forms template for easy changing the XML forms language using Userid language. So when a user logs on and wants to create a new XML forms(news ect.) they get the form in their own language.
    Found in SAP help:
    Language-Dependent Resource Files
    You can use the default resource files as a template for language-dependent resource files. Note the following naming conventions for language-dependent resource files:
    <Preferences location>/<project name>/<project name>_<language key>.xml
    For example, an item file for Italian could have the following ID:
    /etc/xmlforms/SAP_DemoNews/SAP_DemoNews_it.xml
    You have to create the language-dependent resource files manually (see Activities). You offcourse change the content of the xml
    Question:
    When we translate the form and test it, the entering template(xml) works perfect and we can generate the xml forms(news) in no time, BUT when displaying the XML forms in "SHOW" modus, it points back to a NON translated XML/XLS form. The translation of the form should also print/show the translated xml forms in SHOW modus also? Is there a way of translating the SHOW, bcs going into the forms builder is too time consuming and we can n ot do this bcs of short timeframe.
    Any solutions to this, Thanx!!
    Best Regards
    Trond Gjerde

  • Open XML Forms not using KM

    Hi experts,
    I have the following request:
    Place a link in the Portal that displays a custom XML Form document to fill in.
    By now I have always filled in new XML Forms documents by accessing KM and selecting 'New > Form > <custom form>'.
    Now I need to access a XML Form by clicking a link in Portal (without accessing KM). Is there any special iView already created for this? Is this possible in any other way?
    Many thanks in advenced and regards
    Stella

    Hi,
    You can create a KMnavigation iView and change the following propertie s
    Layout set = NewsExplorer
    folder =News
    and create iView.
    Assign this Iview to the role and role to a user.So when user clieks on role he can create  news .
    Hope it helps.
    Reward suitable points.

  • Property MetaData in XML Forms

    We are currently using EP 5 SP 5 with CM SP5 Patch 3 Hotfix 11.  I have create a new XML Forms project using the Forms Builder.  I would like to be able to view/edit metadata properties through the XML forms. I have read about the PropertyEdit and PropertyView XSL for rendering properties in the KM section of the Help documents, but find the information lacking on how to get started. Does anyone have information on how to do this?

    You need to implement Resource List Filter. this manual should help you:
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/31fa0d2d-0401-0010-efa3-af7a8647c3bc?prtmode=navigate">Implementing Resource List Filters for Flexible UI Navigation</a>

  • XML Forms Builder: Sorting news based on a date field in a XML form

    Hi Experts
    I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
    The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
    The users who post the news in our portal needs the information to be sorted based on a date field shown.
    Thank you
    Best regards
    Ramamoorthy D

    Hi Experts
    I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
    I removed the property link from the screen field Input field.
    Thank you
    Best Regards
    Ramamoorthy D

  • XML Form - How to sort on Created -

    Hello Techies,
    I have made a custom XML news list with the forms builder.
    I want to sort the news items by creation date.
    I tried putting "/Properties/default:created" in the sort field of the showlist view. But without result.
    Does anybody how to quickly sort new items by creation date and time?
    Best Regards,
    Defour Frederik

    Indeed the sorting works both using the collection renderer or the sort in the form. Only trouble the sort does not work properly.
    We use dateformat DD/MM/YYYY. I have a few items and these are sorted like this ( these are create dates )
    28/06/2005 - 23/09/2004 - 23/05/2005 - 15/06/2005 - 14/06/2005
    Seems to me that the sort does not see dates but numbers
    28062005> 23092004> 23052005 etc....
    I already opened a message but I keep this forum open.
    I you have a clue, please advice.
    Thanks

  • I want  to design a News like the *LInklist* by XML Form Builder

    Hello:
       Everyone!
       Now I have another problem about XML Form Builder
       I want  to design a News like the LInklist by XML Form Builder
       I want the result,For Example
    SAP News
           1news1
           2news2
           3news3
    who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
    Thanks a lot
    Hope your help!

    Hi,
    In XML Form
    1) Edit form is used for designing the user interface.
    2) Show form is used for displaying the xml form to the end user
    3) RenderListItem is used for  rendering the xml form into a small description like 1News1, 2news2  etc..
        Here you need to display only the heading of the xml form
    After you create the xml form
    Create Layout set  where you need to give the proerties like xml renderer form , no of items to display etc...
    Thanks&Regards,
    Raghu

Maybe you are looking for

  • Free Trial InDesign Print Out Problems

    Hey, I created several designs with the free month trial of inDesign. Today I signed up for the monthly plan. When I go to print out my latest design it prints out on older one (similar but different). Does InDesign not allow you to print out designs

  • Subcontract with full payment of excise duty

    hi gurus Can any one provide me itutor link of subcontract with full payment of excise duty,import cycle,import under custom bonded ware house Thanks in advance Roc

  • Display additional fields in Service Request detail page

    Hi All, Is it possible to display some fields like Account Type, Contact Type etc. in Service Request detail page? Service Request Field Edit page only allows to add default value to the newly created field, that's not the result that I needed. Any s

  • IPad dont show friend requests on twitter

    Help help help

  • Database design - Better approach than XML/ XSD

    Hi, I am designing web based application. The scenario I am working on is - I have around 50+ odd objects. They have few common things but other fields will change (Say e.g. Employee / Customers/ Assets, etc). We are also providing a facility where i