XML Form Builder - XSL

Hi,
I am modifying the XSL of the application to validate the date field in the form builder. In the save button of the all the applications build through form builder, there are two javascripts ....
One is javascript:HrefSubmit under attribute href and another javascript javascript within the attribute onkeypress.
I have written the logic under HrefSubmit.
I am passing the dates of two fields viz., Expiry and Publish for the date validation purpose. But when i click the button for the first time, the dates are not passed.Only in the second click the dates are validated i.e., javascript is executed....How can i make it perform in the first click
Kindly advise
Thanks & Regards,
Ganesh

Hi Ganesh!
Could you please post the XSL so we can have a look at it?
Regards,
  Jürgen

Similar Messages

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

  • Error writing output with iview for xml form builder

    Hi,
    I created a Xml Form Builder's project in which I developed an "Edit" and "ListEdit" sheet.
    I also created an iview for theese in which the code link is:"com.sap.km.cm.xmlform",and the field for Style Sheet for List and for single item are set up correctly,but when I tried the preview the following error message happened:
    com.inqmy.lib.xsl.xslt.XSLOutputException: Error writing output. -> org.w3c.dom.DOMException: Root Element is already present, cannot be appended as a child.
    could someone help me?
    thank's a lot!
    Nick.

    Hi,
    Now I'm confused,what do you mean with create new data? Are users editing existing documents
    (as if they go to a document example.xml > edit) or they are creating new documents (as if they go
    on folder > new > forms)?
    The problem is, in both cases a user would need read/write permissions.
    The normal flow content (data) is created in KM is as follows:
    1. user is assigned to a role
    2. role contains KM Navigation iView
    3. KM Navigation iView executes com.sap.km.cm.navigation component
    4. user chooses New > Form UI command (edit_xml_forms)
    5. edit_xml_forms UI command executes its code (com.sapportals.wcm.rendering.uicommand.cm.UIXMLFormsCreateCommand) and open xml edit for the user
    6. user fill the form and click Save, form is created into folder
    For what I understood so far, your requirement basically asks you to go directly to step 5, it is
    possible to pass a URL that goes directly to step 5, the UI command button, but if you do that
    you won't have a context, so chances that it will work are slim, since a context is required to
    fill the parameters asked by the app (like folder, user, permissions, etc). Even though, in some cases you can
    still pass the parameters via post in the URL but you must know which service/parameters the
    app asks for it, also a URL is static...
    That was the create scenario, I think it's more cons than pros, users would still be
    able to bypass the URL iView created for that, I'd suggest evaluating again if it's really
    a problem having users access cm to manage data
    kind regards,
    Rafael

  • Problem saving XML Forms builder project

    Hello,
    I have extended my xml forms project with some functionalities and now I'm not able to save and generate it. When I'm trying to save the project saving process stops while saving 'GUIModel-Internal.xml'  which is quite big file (~4MB). I can't find the reason which cause that.
    I would be grateful for any ideas.
    Best Regards,
    Michal Maciejewski

    Hi Fallon,
    It was typicall extension with normal changes within the XML Forms Builder. I've added some nodes in Data Schema and then create some controls on Edit and Show form which I connected with the newly created nodes. I know that custom changes in .xsl file will be erased after opening and saving the project within the XML Forms Builder so I'm trying no to do that. Have you got any idea why the project is not saving properly? Is it possilbe that XML Forms Builder could damage some files of my project while saving? After several tries of saving Show form could not be load while opening project. It's quite urgent for me to find solution or cause of this issue.
    Regards,
    Michal

  • 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

Maybe you are looking for

  • Windows Update Error Code 57E

    Hello, I am getting Error Code 57E when using Windows Update. The only update that doesn't install is KB2863911. I am running Windows 7 64-bit and Office 2013 64-bit.

  • Can I resize pages in Acrobat?

    Hi, I'm in a rush to get my graphic design portfolio requirments done for my portfolio class at VCU.  Please help if I don't finish it I don't graduate with my BFA!!!  Ok I am over exaggerating but if I can resize this in Acrobat Pro it will save lot

  • Mac Preview does not save PDFs correctly

    When I try to save a webpage as a PDF using the Print dialog box on my Mac, ("Save as PDF"), the PDF is distorted. The first page is OK but on the second page, the text displays in a larger font and the text is cut off on the right. Apple tech says t

  • VMware error on Qosmio x500-110 and Win 7 64bit

    I am having problems running Vmware player on this notebook. It allways gives this error: Operation on file "D:\VM\WinXP - VS 2008 - Blanco\XPSP3VMwTEMP-s003.vmdk" failed. If the file resides on a remote file system, please make sure your network con

  • How can I view the add-ons that I have got installed?

    When I view the firefox start screen , how may I call up and view the add-ons that I already have installed please?