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

Similar Messages

  • XML Forms: how to create download link

    Hi,
    can anybody tell me, how i can create a download link to a document rid
    in an XML form?
    I can create a link which will open the referenced document, but "right klick
    link | save target as..." will produce an error, since the link is a javascript call.
    Thanks for any help,
    bye,
    Markus Steinberg

    Hi Markus Steinberg,
         i need to create the Download attachement Option In XML Form..
         U got the solution for that above thread..
         If so please tell me how to create? and then how to create multiple Link ?
    Regards
    Thillai J

  • XML FORM  -  How to save read-only controls with a default value

    Hello everybody,
    I have a 3 xml forms, each one to create one type of news. I need to use 3 because each of this forms has their own controls. But the control which indicates the type of news (asociated with a KM Predefined Property) must be common in the 3 forms, in order to use it on searches.
    The question is, how can I include in this forms a control:
      - Visible for the user
      - With a default value defined in the control properties (each form has a different value, corresponding with the type of news)
      - Read-only mode
      - The value showed in the control must be saved in the associated KM Predefined Property when the user clicks the Save button. 
    Anyone knows how to do this?
    What control can I use?
    I was thinking of trying with text boxes, but I don't find the way to make them unwritable (Read only mode).
    It is posible using labels?
    Thanks.
    Kind regards

    Hello Jose,
    I know you responded with a question... I see it in the email, but I don't see it here!  Very odd... but in response:
    The first thing I do when I open the Edit.xsl file is do a 'find' for the name of the text field that I want to be read-only (in my test case, it's 'location').  Repeat the find until you see something like:
    [code]<!--
    field location
    -->[/code]
    Below there is where I put the new code.  Mine looks like this:
    [code]- <xsl:choose>
    - <xsl:when test="location='' and ($editmode='create')">
    - <xsl:choose>
    - <xsl:when test="./xf:ValidationError/@tagname='location'">
    - <input name="location" size="30" type="text" class="urEdfiTxtEnbl" id="field_1157467268006">
    - <xsl:attribute name="tabindex">
    - <xsl:choose>
      <xsl:when test="$accessibilitymode='true'">21</xsl:when>
      <xsl:otherwise>3792</xsl:otherwise>
      </xsl:choose>
      </xsl:attribute>
    - <xsl:attribute name="value">
      <xsl:value-of select="''" />
      </xsl:attribute>
    - <xsl:attribute name="readonly">true</xsl:attribute>
      </input>
      </xsl:when>
    - <xsl:otherwise>
    - <input name="location" size="30" type="text" tabindex="3792" class="urEdfTxtEnbl" id="field_1157467268006">
    - <xsl:attribute name="value">
      <xsl:value-of select="''" />
      </xsl:attribute>
    - <xsl:attribute name="readonly">true</xsl:attribute>
      </input>
      </xsl:otherwise>
      </xsl:choose>[/code]
    I put the <xsl:attribute name="readonly"> in both places (when test, and when not test).  I'm not entirely sure if that's necessary, but that worked for me.
    Hope this helps,
    Fallon

  • XML forms - how to assign KM folder for documents?

    Hi guys!
    I have created an XML forms application and iViews for authoring and display.. But one of the Iviews' property (KM navigation iView) is the name of the folder for the XML documents...
    My question is - how to set, where to save the documents form XML forms application? In which KM folder?
    I created the application, but in KM was no new folder for my documents.. Is it needed to set-up explicitly?
    Thanx for answer! 
    Peter

    Hi Peter
    The location has to be specified if you are creating a KM Navigation iview.You can specify the location to an already existing folder. It is better to create separate folder in KM for storing the documents.
    The folder path has to be specified in the "Path to Initially Displayed Folder" property of the KM Navigation iview.The default value is
    Path to Initially Displayed Folder:/documents/News
    In this case all the documents created is stored in the "News" folder.
    The documents can also be created by using the menu options  in KM. (Folder->New->Forms->your form)
    Regards
    Geogi

  • How to get back from Show form  to Render List  form in XML Forms

    Hi,
    As we use the Hyperlink "Display" in RenderList form to go to Show form similarly what kind of hyperlink shoul we use in Show Forms to get back to RenderList Forms.
    We did try out with the Back option but are not getteing the desired result.
    Sweta..

    HI Sweta ,
    Havent worked much on this but can refer.
    /thread/4878 [original link is broken]
    /thread/100920 [original link is broken]
    XML Forms - How to render a sequence node?????
    /thread/240057 [original link is broken]
    /thread/147252 [original link is broken]
    /thread/189120 [original link is broken]
    Thanx
    Pankaj

  • 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

  • How to go back from SHOW form to RENDERLIST form in XML forms ?

    Hi All,
        I want to know the value of hyperlink property of the label of Show form in order to go back from Show form to Renderlist Form. Its Urgent ..... Plz reply ASAP if anybody knows about it.

    HI Sweta ,
    Havent worked much on this but can refer.
    /thread/4878 [original link is broken]
    /thread/100920 [original link is broken]
    XML Forms - How to render a sequence node?????
    /thread/240057 [original link is broken]
    /thread/147252 [original link is broken]
    /thread/189120 [original link is broken]
    Thanx
    Pankaj

  • Flash files as images in XML Forms

    Hi Crew,
    Anyone had to use flash files in XML forms Based Publishing?
    Have created a simple XML Project asking the user to select two images, and these are then displayed in an iView.
    gifs & jpegs display no problemo.   swf (flash files) do not.
    Any ideas?
    Paul

    Hi Paul,
    I need to display a .swf file in a XML form. I read the solution that you have posted about modifying the XSL file, but i have no clue how to go ahead with this.
    Could you kindly provide any document, link or the solution as to how to modify the XSL file ?
    Any kind of help would be truly appreciated.

  • Problem in XML Form Builder

    Hi all,
    Can any one provide me any document related to FAQ in XML Form Builder?
    i have created one project in xml form builder but not getting how to create iviews at admin side and user side.
    Thanks in advance!
    sonal.

    Sonal,
    You can check
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/fe743c74fa6449e10000000a11402f/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    James

  • Scrolling in xml form

    Hi,
    we are migrating a jsp based website to portal. There is a web page in which it has a image and a list of "short descriptions of company stories" scrolling on the right hand side. They did it by HTML, JSP and talking to database and storing those stories in database.
    so when we move this to SAP Portal, i though best way would be to use XML forms, so that I can create a render list form which has image in the left and the stories on the right side. and when clicked on each story, an XML show form is called. but i dont get two things:
    1. how to make the stories (short description) scrolling in the right pane in render list form.
    2. how to replace the image with the actual story, when clicked on the scrolling short stories
    please help.

    Hi,
    my problem is simular to Aditys: My Java Version is JRE 1.6.0_15. When I go to Content Managment --> Formbuilder, the XML Forms Builder starts automatically but it is not possible to open Data Schema. After downgrade to Java 1.4 I can not start the Form Builder, that means, after clicking on "Form Builder" in the Portal, a pop-up opens, but the XML Form Builder does not load.
    Can you help me?
    Jannis

  • Query on XML Form Builder

    Hi,
    I have an news application to be developed in XML Form Builder. I am creating News Author part of it. It has an Date field where i have to do an validation like the user cannot enter date less than the current date. I can perform simple data type validation through  the form builder. Can I perform the above said validation in XML form builder or is there an work around in getting this done.
    Thanks in advance
    Regards,
    Ganesh

    hi,
    I opened the schema of  this particular application in the KM. I edited the tag for the particular application and included my restriction, so that the validation could occur. I did the same for string field in restricting the no of characters and found to be sucessful. But the same doesnt work for date field...
    The tag goes like this
    <element name="ExpiryDate" default="" minOccurs="1" maxOccurs="1" type="date" ns="default"><simpleType><restriction base="date"><minInclusive value="01/01/2009"/></restriction></simpleType></element>
    Usually you dont have this restriction.....I have added the tag in bold.....But still validation doesnt occur.....What is the format in which date is stored????
    The same worked for string field as shown below. I can restrict the entry to just 5 characters depending upon the restriction, I make in the schema.....
    element name="Courtesy" default="" minOccurs="1" maxOccurs="1" type="string" ns="default"><simpleType><restriction base="string"><maxLength value="5"/></restriction></simpleType></element>
    How can i apply the same to date field???
    Any inputs from Consultants worked in Form Builder??
    Thanks & Regards,
    Ganesh N

  • Nested XML Forms

    Hi,
    I'm using the XML Forms Builder to try to create a "How-To" iView where some content managers would be able to update information in a standard form that would be later on displayed to the users.
    I'm able to do this in form of a "News" publishing, with the Edit, Show and RenderListItem forms and using the NewsExplorer and NewsBrowser iViews. However, the requirement here is that we have a kind of nested forms: each How-To item would have a series of "steps" that would be added one by one, in the same way that the original items are added.
    So, in the first screen, the content manager would click on "New How-To" and would be taken to the creation of a How-To where he/she would input a title, date, author and some other information. In this screen, he/she would then be able to click on "New Step" where he/she would input one image and the text for that step, and click on Save. Then he/she would be taken back to the How-To creation screen, and would have the option to create another step or to save the How-To.
    After saving the How-To, it would appear on the original list (RenderListItem form) for the user to click. When clicking on the How-To, the "Show" form would display a list of the steps for that particular How-To, in the same way the RenderListItem form does for the list of How-Tos.
    Do you know if (and how) it is possible to do?
    Thank you,
    Daniel

    Patricio,
    I need to add another kind of functionality to XML forms. My client wants to make an upload of an attached file in one click.
    In other words, doesn't want to need to first make the upload to KM and after make the link in the XML Form.
    Can you give me any idea in order to accomplish this?
    Thanks in advance
    Patricio

  • Submit for Approval in XML Forms

    Hi Experts,
        I have created a News Application using XML Form Builder.  Once I create any news based on this form builder, I need to submit this news item for approval.  I have configured the approval process for that particular KM Folder.
        I need submit for approval option in News Explorer/News Admin iView.  How can I achieve this?  Do, I need to change the layout set properties or in XML Form Builder application itself.
       Help me in this regard.
    Thanks & Regards,
    Art

    Hi Art,
    > Do I need to change the layout set properties or in XML Form Builder application itself.
    You should extend the command set used on the resource renderer (the resource renderer is defined in the layout set), using the approval command group, I don't know the exact name, but it will be something with "approval" or "statemanagement" in it...
    Hope it helps
    Detlev

  • XML Form Builder Date validation

    Hi,
    I have an news application to be developed in XML Form Builder. I am creating News Author part of it. It has an Date field where i have to do an validation like the user cannot enter date less than the current date. I can perform simple data type validation through the form builder. Can I perform the above said validation in XML form builder or is there an work around in getting this done.
    Thanks in advance....
    Regards,
    Ganesh
    Edited by: Ganesh Natarajan on Jun 22, 2008 3:03 PM

    I guess XML Forms builder is not able to do this. You will need to create your own predefined properties for the dates and develop a metadata extension to check that the date is the correct range.

  • Property not loaded in XML form builder

    Hi,
    I am trying to create a new application in XML form builder. I have created few custom properties in KM. I want to use those properties to map to the field in XML application. But i see that under teh data model, I am not able to see any properties from KM. When i click reload properties nothing gets loaded. Also when i right click on DataSchema, menu doesnt appear. What could be the problem?
    Regards,
    P188071

    Hi!
    You probably have to create a property group and a property structure in the Property Structure Service of km configuration first.
    See here for more details:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=944815&messageID=5712759#5712759
    Pretty much the same requirements you have.
    Cheers,
      Jürgen

Maybe you are looking for

  • Dynpro does not exist in FI-CA(different type of screen enhancement)

    Hello guys, My scenario is that i need to  extend account posting screen in  FI-CA  for IS-MEDIA in ECC 6.0.my requirement is that i need to add tab strip which on clicking should display two fields .in one of the field if we press f4 it should dipla

  • Cable internet (ethernet) won't work or even show up adapter

    Hello, I am owner of S10-3 laptop and I have problem - cable internet is not working. Adapter in adapter section or HWinfo (software, which shows hardware incomputer) won't show up nor internet working. There is no changes if I put or remove cable. I

  • Syncing apps from one itouch to another

    hello i am new to the ipod touch. i was wondering if i can synch apps from a friends ipod touch to mine and play them or do you need to buy the apps from itunes. If you can synch how do i do that.

  • Dark Images Problem

    We video with 3 Sony VX2000 Cameras, input to a Panasonic MX30 mixer and record the output with a Sony TRV 950. We then export the recorded tape to iMovie 6. Our problem is the imported clips appear dark. The images from the shooting cameras, from th

  • Unable to open Page Setup in CR11 in Design view

    Hello, I am using crystal reports professional v11.0.0.1994. I am unable to open the Page setup from the File menu in this report. The Page setup function works for my other reports, just not this one. I do not want to have to recreate this report as