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

Similar Messages

  • Creating a iview for XML Form builder Edit Form

    Dear Experts
    I have created an XML Form builder application which has Edit from,Renderlist and Show form. I able to create a datafile in by going to content manager. My requirement is to create an iview for Edit form so that i can assignt he ivew to end user to fill this form. I dont want to give content admin to end user.
    I need to create an ivew to XML Form builder Edit Form
    Regards
    Noel

    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

  • Alternate product for xml form builder

    Hi,
    I have just set up my portal environment with different xml forms.
    These forms are created with the xml forms builder
    I was wondering if there is an alternative for this because I'm experiencing that the xml form builder doesn't have a lot of options...
    Can I for example use the adobe pdf forms or the SAP smartforms?
    What do I have to do then?  Is it enough to just upload the layout folder to /etc/xmlforms and the content folder to /documents? (my current folders)
    Can I also make an iView with a reference to these folders?  How can I make a link between the folder where the content is stored and the form? (in XML form builder via path)
    Can anyone give me some advice on this?
    Thx
    Points will be awarded

    Hi,
    In this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3633">Blog on XML forms</a>, check out the <b>comments</b>. One of them talks about a business package being available.

  • Prblem in readmorelink in news iview of xml form builder

    hi,
    i am getting portal runtime error when i click on readmore link in news iview
    i have taken std news i have not cahnged anything
    i searched in sdn the solution they have given is also not working
    can any body help me in this regard
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: http:.default.
    Exception id: 10:54_21/08/07_0069_26842850
    See the details for the exception ID in the log file

    Hi,
       Yes you are right.  When you create the iView, have you set the following properties:
    <b><u>Property Value</u></b>
    Layout Set: <b>NewsExplorer</b>
    Layout Set Mode: <b>Exclusive</b>
    Path to Initially Displayed Folder: <b>/documents/myNews</b>
    Path to Root Folder for Navigation: <b>/documents/myNews</b>
    And also refer this <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=3957120#3957120">thread</a>
    Regards,
    Venkatesh. K.

  • XML Form Build Error Unexpected http response code 500: Error

    Dear All,
    I am facing the error when I am starting the XML Forms Builder.The tool checks the environment in which the XML Forms Builder is running (xfbuildertest.html)
    I am getting the following result :
    - Test: Connection Tests
    - ! Test Failed !
    - A test in the suite failed
    - Test: XML Forms Builder Version
    - ! Test Failed !
    - 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 help me.
    Regards
    Pravesh

    Hi Lorcan.
    So what exactly happens when you try to start XML Forms builder, do you get an actual error or does it just not start at all?
    > Actually the News are not getting displayed . The HTML (Html tages)are not getting rendered properly in XML Form Builder.
       This news are perfectly working in other environment  (Dev/Qlty) but not in Production .. where i am facing the issue of rendering the news ( not in correct format as expected)
    It is appearing as link. where as in my other environment the Text in proper HTML format.
    (Link of News appearing in production) whereas in Dev/Qlty proper text with Heading/Font/Colour appears. Or are you only seeing errors when you run the environment check?
    > I am getting the errors when running the environment check on in Production but not in Development/Quality.
    Did you try it on different clients or with different users? Is this a new installation or have you recently upgraded? Are all your components on the same SP level?
    > This is new installation but SP level are exactly same across the system(Dev/Qlty/Prod).
    Also the check the settings and found proper..
    Root Directory * /usr/sap/<System-ID>/SYS/global/config/cm/etc*
    Please let me know am I missing something..
    Why its not running on my production system.
    Regards
    Pravesh

  • XML Form Builder -no DataModel element in Dataschema

    Dear All,
    I am trying to implement XML Form, created sample project.
    Issue here is, no Data Model element present under DataSchema once project created.
    Steps follwed:
    1.Login with Portal administrator credentails(has Content Management role)
    2.Started XML Forms bulder
    3.Open the project options
    4.Entered project details(Name and ID) and saved
    5.Opened Options-> Forms.
    6.In HTML Markup, from the dropdown list  choosen ' Strip All Tags'  -> OK
    Now in DataModel pane, there is  Namespaces, DataSchema and Properties.
    I tried to click on DataSchema, it has no any Data Model childe/root element.
    Please suggest me.

    Hi, Kris@EP.
    Recommended JRE on client side for XML Forms Builder is 1.4.* or 1.5.*
    Be sure that you got JRE version is lower than 1.6
    If you have JRE 1.6.* implement [SAP Note 1341069|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_km/~form/handler%7B5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333431303639%7D]
    Regards, Mikhail.

  • Dataschema in XML form builder

    Hi all i started doing one application on xml form builder .i created a project . when i click on name space i is showing an defeult value but when i right click on the dataschem it was not showing any values.i hane to add some structure to the data scheme .so, can any one solve my problem

    Hi, Kris@EP.
    Recommended JRE on client side for XML Forms Builder is 1.4.* or 1.5.*
    Be sure that you got JRE version is lower than 1.6
    If you have JRE 1.6.* implement [SAP Note 1341069|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_km/~form/handler%7B5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333431303639%7D]
    Regards, Mikhail.

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

  • XML Form Builder-Problem with the save button

    Hi All,
    I created a project in XML Form Builder.
    I included a button "Save" in my project.
    All is working fine when i preview my project in XML Form Builder.
    The problem is when i run my project with iview.
    I suppose the form to save my input and then to be closed but
    unfortunately it did not.
    I don't know where the problem is as in the XML Form Builder everything seems ok.
    Thank you for your help!
    Regards,
    Ari

    Hi Carsten,
    Thank you for your help.
    There is no javascript error in the form.
    In the status bar when i have my mouse over the button i can see "javaxcript:HrefSubmit('save',"");"
    And when push the button "Transering Data..."
    I created the form in the Xml Form Builder and in preview there the project works.
    What do you mean "Did you access your Form using the KM Admin Explorer via a comman?"
    How can i have acess there?
    I appreciate you help!
    Regards,
    Ari

  • Error in news created in XML Form Builder

    Dear Experts
    I have created news in XML Form builder (three forms edit, rendered list and show). Created two iviews NewsExplorer and NewsBrowser.I have exposed these iviews for relevent users. Now the problem is the edit for and the show form of the XML news is not working for few users. While opening the edit form and show form for few users it is giving the below portal runtime message.
    BEGINING OF ERROR MESSAGE----
    Access denied (Object(s): com.sap.portal.system/security/sap.com/NetWeaver.KMC/low_safety/com.sap.km.cm/components/xmlformpreview).
    END OF ERROR MESSAGE----
    Appreciate your response.
    Regards
    Shanmukha Rao Banisetti

    Try adding everyone group to the low_safety security zone...

  • 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

  • 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 Form Builder Error using JRE Version 1.6.0_05

    Hi Experts,
    I am trying to create an XML Form using XML Form Builder. But I noticed that the root nodes under the data model area of the said tool is not clickable(even if it has + sign on it)thus hindering me to continue. I encounter this error using jre version 1.6.0_05.
    Can someone help with this?
    Thanks a lot
    Edited by: Leah Mendoza on Oct 9, 2008 2:07 AM
    Edited by: Leah Mendoza on Oct 9, 2008 2:07 AM

    Hi Leah,
    Have you tried double clicking?
    If this doesn't solve the issue, you might want to try using a different version of the browser and disable the pop up blocker on your browser.
    Please try this out and let me know.
    Regards
    Mazin

  • Error in XML Forms Builder

    Dear all,
    I am trying to create News form in XML forms builder but XML form builder persitently throws following error.
    Error: The edit form does not contain a save button or link
    Warning: The name property is not referenced. A GUID will be used as the XML file name.
    what may be the reason.
    Regards,
    Murali

    Hi
    1) data schema not expanding ?
    check ur JRE version installed on ur computer.
    some JRE version doesnot support XML Forms builder functions.
    my JRE version is 1.5.0.70. It really works here .
    upgrade or degrade the version of JRE in ur computer will solve ur problem.
    2) Error: The edit form does not contain a save button or link
    Warning: The name property is not referenced. A GUID will be used as the XML file name.
    This is something to do with u.
    have a look at the manual how to create the XML forms builder onceagain will solve ur problem.
    Check these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/fe743c74fa6449e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3f9a090-0201-0010-d4bb-bb3fc5e91cc5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/7f99a69d-0701-0010-1783-cf847ec929f8
    Regards,
    Vijay.
    Edited by: vijayakumar kanniah mohan on May 2, 2008 10:05 AM

Maybe you are looking for

  • I am unable to get same preview image colors in Bridge and Lightroom

    I am unable to get same file preview in Bridge and Lightroom. The Lightroom preview image (in both the Library and Develop) is more de-saturated. But the exported/saved jpegs match. If I try to match the Lightroom preview image to the Bridge preview

  • Jasper report integration in Oracle BPM

    Hello friends We'r working on an application using Oracle BPM 11g (11.1.1.5.0) What we are looking for is to have the ability to generate reports using iReport (jasper). Using help from the previous thread below ,we have been able to call a report wi

  • All-day long activities in Calendar don't adjust height

    I have a lot of all-day long activities in Calendar, but it clearly wasn't designed for that because it only shows two or three of them and I have to keep scrolling all the time-which on the iphone and the ipad is a bit tricky. Is there some workarou

  • Disabled keyboard shortcuts in adobe applications

    My employer provides Mac OS X 10.4.11. I am not in a position to upgrade this, therefore cannot go beyond Firefox 3.6.25. I have recently found keyboard shortcuts in Adobe Photoshop (7) and Illustrator (10) do not work when I'm logged in to my hotmai

  • ORA- 01422: exact fetch returns more than..

    Hello, I am new to PL/SQL world. Could anyone help me solve this problem? I am trying to run the following block and receive error. DECLARE v_name VARCHAR2(10); BEGIN SELECT ename INTO name FROM emp; END; SQL>/ DECLARE ERROR at line 1: ORA-01422: exa