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

Similar Messages

  • XML Form Builder-How to access data saved from a form?

    Hi All,
    I created a form in XML Form Builder. This form include checkboxes and input fields.
    Also i include a Save button.
    I used this form in a iView.
    Many users will access this iView and save their input data.
    So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
    So for every user's Save is created a XML form .
    The question is,
    how can i collect all these data for each created XML form, so as i can process them?
    Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
    I am new in EP  .
    Regards
    Ari

    Hello Avinash,
    You can directly use query in form personalization Conditions like
    select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
    and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
    TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
    set the error message.
    Regards,
    Saurabh

  • XML Forms Builder - problem with checkbox

    Hi,
    I have created many checkboxes in XML Forms Builder and if I want to create a new document based on this "Form" I have still checked one of checkboxes. I would like to have all empty  checkboxes becasue user should check the appropriate checkboxes.
    Do you know how to resolve this problem?
    Thaks for help!
    Regards,
    Andrzej Tabara

    Hi,
    is it always the same checkbox that is already filled in? Is this ckeckbox based on a metadata-definition?
    If yes: You could maybe have a look at the metadata-definition. Is there maybe a default-value defined?
    Kind reagrds
    Karin

  • In XML form builder data schema not clickable

    Hi ,
    I have installed JRE version 1.6.0_07. When i click on xml foms builder ,it gets opened but when i click on data schema it's not clickable but icon is displayed next to data schema.I am not able to create any node in data schema.
    Regards.
    Adity.

    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

  • How to make use of the XFList in the Function Bar  of the XML Form Builder?

    Hello:
        Now I am creating blog using the XML Form Builder.
        In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
        I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
    lexian
    Thanks a lot!

    In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
    SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
    The first text box under Groups attribute corresponds to SCREEN-GROUP1,
    2nd text box for SCREEN-GROUP2
    3rd text box for SCREEN-GROUP3
    4th text box for SCREEN-GROUP4
    Hope this helps.
    Thanks,
    Balaji

  • Attachments in XML Form Builder

    Hello
    I have created a XML Forms Builder Project.
    News Author  will create News using this form and attach Documents  to the news.
    for ataching document I am using a Schema Element with datatype set as rid  .
    from this element i created a Browser control .
    At run time , i am able to select files from KM using the browser control.
    But while Viewing the News when i click on the Hyperlink for that control
    it opens up the same news again .. (its referencing self instead of the document)
    What property setting i am missing ?
    what is the correct way to attach documents and view them using a project created by XML Forms Builder ?
    Regards
    Rajendra

    Solved

  • Problem in XML Form Builder  development

    I am developing some KM Navigation iView template with XML Form Builder . I create a label , when it be clicked , relative files will be download to local PC. But the caption of the label is the complete path of the file, not "file down" which I expected.
    I need help, Regards.

    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

  • 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

  • Anonymous access to XML Form Builder file

    Hi to all
    I create a XML Form Builder project to create a method for news publishing.
    I use an KM navigation iview tath containing XML file.
    If i authenticate me on the portal i view all correctly.
    the problem is with anonymous user, the portal required me autentication.
    I setting the folder permission where the XML file is stored.
    I setting the permission for the KM Document Iview.
    I view correctly image, html file, ecc with anonymous user.
    PLEASE help me.
    Thanks

    thanks for your answer but i have the error:
    com.sapportals.wcm.repository.InvalidUriException: Invalid RID: .xml
         at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)
         at java.lang.Throwable.(Throwable.java:195)
         at java.lang.Exception.(Exception.java:41)
         at com.sapportals.wcm.WcmException.(WcmException.java:59)
         at com.sapportals.wcm.util.content.ContentException.(ContentException.java:38)
         at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:162)
         at com.sapportals.wcm.repository.InvalidUriException.(InvalidUriException.java:48)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findRepositoryManager(CmAdapter.java:1599)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findManagerAndResource(CmAdapter.java:1322)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:979)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.service.xmlforms.utils.ResManager.getResourceImpl(ResManager.java:272)
         at com.sapportals.wcm.service.xmlforms.utils.ResManager.getResource(ResManager.java:112)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:199)
         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.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)

  • XML Form Build Error Unexpected http response code 500: Internal Server Err

    Hi
    I have the following error message when i am trying to load  XML Form Builder
    "Unexpected http response code 500: Internal Server Error "
    When i am trying to Run the test its shows me the follwoing error log.
    Test Environment: XML Forms Builder Environment Check *
    Start Time: 2008-09-17 15:09:53                       *
    End Time: 2008-09-17 15:09:59                         *
    - Test: Java Environment
    - OK
    -      Start Time: 2008-09-17 15:09:53
    -      End Time: 2008-09-17 15:09:53
    -      Java Runtime Version is 1.6.0_02
    - Test: Connection Tests
    - ! Test Failed !
    -      Start Time: 2008-09-17 15:09:53
    -      End Time: 2008-09-17 15:09:59
    -      A test in the suite failed
         - Test: Download XML Forms Builder Jar
         - OK
         -      Start Time: 2008-09-17 15:09:53
         -      End Time: 2008-09-17 15:09:55
         -      Successfully loaded XML Forms Builder Jar from http://zhmscad8.whirlpool.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
         - Test: Download SAP XML Toolkit Jar
         - OK
         -      Start Time: 2008-09-17 15:09:55
         -      End Time: 2008-09-17 15:09:59
         -      Successfully loaded SAP XML Toolkit Jar from http://zhmscad8.whirlpool.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
         - Test: XML Forms Builder Version
         - ! Test Failed !
         -      Start Time: 2008-09-17 15:09:59
         -      End Time: 2008-09-17 15:09:59
         -      Unexpected http response code 500: Internal Server Error
         - Test: Load Global Settings
         - Not Started
         -      This test depends on the test "XML Forms Builder Version", which did not complete successfully
         - Test: Load Project List
         - Not Started
         -      This test depends on the test "XML Forms Builder Version", which did not complete successfully
    Please let me know the how to slove this Problem.
    Thanks
    Mmukesh
    Edited by: mmukesh reddy on Sep 17, 2008 9:29 PM

    Hi Koti Reddy
    That is not related to my issue.
    Here this error only comming for two users in my group.
    The environment every thing working for remaining user.  But only that two users are facing the problem.
    So please let me know is there any security issues.
    Thanks
    mmukesh

  • 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

  • ERROR for save a form created in XML Form Builder

    Hello everyone:
    I am having an error message when I try to save a form in the XML form builder and I donk know what I need to do for fix it.
    Warning:
    An error occurred when copying temporary files. The saved project state can be opened in the XML Form Builder, but the old state will be generated. The error was: An unexpected error occurred: null.
    If anyone knows how to fix it I'll thanks your help!
    Tzitzi

    Hi, someone can help me with this?

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • XML Forms Builder Errors after SP Stack 14 upgrade

    Hello,
    I upgraded development portal to NW04s SPS14 (from SPS11).
    In XML Forms Builder, try to open my existing project but not succedd. I get the message "Operation Timeout".
    "The current operation timed out and was aborted. This was caused by network communication problems . Some data may have been lost.try again later"
    After click cancel, I get a second message:
    "There are no projects stored on the server"
    In KM content, etc folder, xmlforms , I can see all my projects !!!
    Of course, no network problems exists.. portal is working ok, ...
    I applied OSS note 1150307 - "Internal Server Error when accessing XML Forms Builder" but I have the same problem.
    Any idea¿?
    Thanks and Regards
    Noemí Llano

    Hello, I did a test...
    from the same client machine ...(with JRE 1.6.0_03) I start XML Forms ....
    with SPS11 portal, I can see the Projects.
    With SPS14 portal, I can not see the projects
    Thanks and Regards
    Noemí

  • XML Forms Builder - Create XML in external System

    Hi,
    Is it possible to create a XML file in a system external to Portal (the DataModel is the same) and after uploading it to the Portal and obtain the same behavior (rendering) of a XML created in Portal by the form generated by XML Forms Builder?
    I've tried to do it, but the file is not rendered as expected.(It appears the XML File but not rendered by the XSL generated by XML Forms Builder).
    Regards,
    André

    I found the solution in the following threads:
    [https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013|https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013]
    [https://www.sdn.sap.com/irj/scn/thread?messageID=823596|https://www.sdn.sap.com/irj/scn/thread?messageID=823596]

Maybe you are looking for