Simple XML form!!!

Hi,
  I am trying to design simple XML form. Where there is jus one label for tile and 1 textbox and the submit button jus for trial button. I am following one document which i got from SDN.
But i am not able to create dataSchema. When i am double clicking on dataschema..this node should open according to docuemnt where i could define my node... but my problem is this node is not expanding...
I have not worked before on XML form.. Is there anything i need to configure or any files i need to create..
and also wot's the use of RenderListItem...Show
Can any one provide me link or tutorial where there are SAMPLE XML form files which i can use for practicing!!!
Regards,
Jigar Oza

Hii Jigar .
Use this articles by chetna verma:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/405ecc31-5709-2b10-4286-a7576865b1b9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00a1b963-5809-2b10-3695-ff1126393446
Thanks:
Dont forget to give rewards if usefull.

Similar Messages

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

  • 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

  • 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

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

  • How to get values in the combo box in a XML form?

    Hi All,
        1. I have created a property which has "Default value" as "Clothings" and  "Allowed Values(csv)" as Real Estate - Sales , Clothings etc" by navigating to KM > CM > Global Services > Property Metadata > Properties.
       2. In the XML form builder when I drag this property I get a combo box for this property.
       3. But when I preview this by going to Content Management > Folder > New > FORMS > and select my XML form project I get a preview but it is not showing me the default values in the combo boxes which I created using the property in XML form builder.
    Please Suggest me as to how to get those values (which I mentioned in property) in the combo box ?
    Thanks in Advance,
    Jasmine.

    Hi All,
      I ll make the above Query Simple.
    1.In Xml Form Builder when you drag a property which has some 3-4 assigned values so you are  recomended to use a combo box.
    2.But the problem after using COMBOBOX is I am not getting these values in the preview of the combo box.
    3.Help Required please its urgent.
    Thanks in advance,
    Jasmine.

  • XML Form Doesnt change

    Dear forumpeople,
    I have a problem with an XML form I made a while ago. I made a simple news scenario and it all worked fine. Now I just want to add a label with some text above the form. Now when I do this and preview its shows fine, but how much i generate and save it doesnt change in my Portal. Anyone has a clue of what im doing wrong? Thanks!
    MVG

    hi hans,,
    u cn refer to this link....its a step by step guide which fixs ur bug.
    /thread/424120 [original link is broken],
    /thread/231181 [original link is broken],
    /thread/49489 [original link is broken]
    regards
    bhargava
    pts r welcome

  • Combining taxonomies + XML Forms

    I would Like to use a form from "XML Forms" and Taxonomies
    For Example, I made a form about Tecnology, and when a save this form, I woud like to distribute in folders, related with the subject...
    How to do that ?

    Hi Marcus,
       It's very simple to do that you need.
    You must create property metadata, after that you enter in form builder tool edit Technology form, you will see all metadata created (system, so on). Then you have to asociate this metadata with your subject field. (drag and drop on this field)
    At last, you create a new taxonomy in order clasify your xml files. Don't forget to asociate xml filter to this folder, I mean when portal is going to leave xml files after clasify them. It is very importan in order to open this xml files using your form.
    Patricio.

  • Error in XML form builder application

    Hi SDN,
    I have created a form builder application. I am able to create items from the application. But when i try to edit or delete the item...From the edit option if I try to save or preview or cancel or reset ....it is throwing the following error message
    Runtime Error
    An exception occured while processing the request.
    Additional information: Exception during PageProcessorComponent.doContent()
    Exception ID = a0d623c1-d35e-2b10-8ab7-f6c10479e59b
    How to rectify the following issue....
    Regards,
    Ganesh N

    Hi,
    I have also encountered this problem the first time I did XML form builder.
    A simple restart of my portal solved the problem.
    Fabien.

  • XML Forms Behaviour

    Hi all!
    I've finished a XML Forms Application which will be very similar to Announcements: a Date field and a Text field, simple as that. However, i am trying now to simulate with this application the behaviour that Collaboration Banner iView has: In one iView, i want to show the "Edit" form only, as there will be one and only one item of this XML type at all times. In other iView, i want to show the "Show" form to display this edited item.
    I can't show the ListItems to the user as there will be only one of these structures at any given time. So, i expect it to work like the Banner: a view for Editing (shows the Edit form) and a view for displaying the single item (shows the Show form).
    Anyone has any idea of how to implement this? I've tried creating some layout sets but it always show the List view like the NewsBrowser.
    Thanks in Advance!
    Thiago

    Hi Detlev,
    Another nice tip here... sure was helpful, i've created the XML Forms Editor iView from par and supplied the XML Form ID for the iView parameter. It shows the edit form, just as i designed in XML Forms builder. However, it throws an error like this when i save:
    XML - Forms
    Cannot read item b01cf85d-3264-2810-0cb2-b1fc2133b48a.xml
    And it says it was an InvalidURIException. The only thing i didn't do was specify the query string as you did in your post, so it has no reference to the URI. How can i supply this URI to the iView? I have to do it by Navigation API concatenating programatically, or is there any iView Parameter where i can inform this?
    Thank you!
    Thiago Souza
    PS: I've been looking into the Proxy solution you pointed, thanks for the hint!

  • Padding in XML forms

    Hi.
    I've been experimenting with the "Padding" feature in modifying my XML forms.
    I can't seem to understand what they do.
    I'm trying to create certain fields in a way that they align themselves horizontally (this makes a form more presentable). I thought the "padding" feature was supposed to make this work.
    But, I can't seem to understand how. I tried including the Padding-clause in the "*customStyle.css"* file. But, nothing happened.
    Is the Padding-feature the right thing to use in this case?

    Use simple table. Try this code and see..
    <Field>
      <Display class='SimpleTable'>
        <Property name='border'>
          <Integer>0</Integer>
        </Property>
        <Property name='columnCount'>
          <Integer>4</Integer>
        </Property>
      </Display>
      <Field>
        <Display class='Html'>
          <Property name='html' value='First Name'/>
        </Display>
      </Field>
      <Field name='Firstname'>
        <Display class='Text'>
          <Property name='size'>
            <Integer>15</Integer>
          </Property>
          <Property name='maxLength'>
            <Integer>100</Integer>
          </Property>
        </Display>
      </Field>
      <Field>
        <Display class='Html'>
          <Property name='html' value='Additional Information / Comments'/>
        </Display>
      </Field>
      <Field name='Comments'>
        <Display class='Text'>
          <Property name='size' value='100'/>
          <Property name='maxLength' value='128'/>
          <Property name='noNewRow' value='true'/>
        </Display>
      </Field>
      <Field>
        <Display class='Html'>
          <Property name='html' value='Last Name'/>
        </Display>
      </Field>
      <Field name='Lastname'>
        <Display class='Text'>
          <Property name='size'>
            <Integer>10</Integer>
          </Property>
          <Property name='maxLength'>
            <Integer>100</Integer>
          </Property>
        </Display>
      </Field>
      <Field>
        <Display class='Html'>
          <Property name='html' value='Additional Information / Comments'/>
        </Display>
      </Field>
      <Field name='Comments'>
        <Display class='Text'>
          <Property name='size' value='100'/>
          <Property name='maxLength' value='128'/>
          <Property name='noNewRow' value='true'/>
        </Display>
      </Field>
    </Field>and in your code as below, Are you sure what you are trying to do...I mean select box with size 100 and is there any propery maxlenght of select box..may be it is text box
    ><Display class='Select'>
    <Property name='title' value='First name'/>
    <Property name='size' value='100'/>
    <Property name='maxLength' value='128'/>
    </Display>

  • XML Form, RenderListItem bug

    Hello, all KM-developers!
    Please try following simple task sequence:
    1) In folder "News" create standard SAP news.
    2) Fill the fields and push Save button
    3) Open the news item again for editing
    4) Change for example title of the news item
    5) Push Save button
    6) In the list you can see old (!!!) title. If you open news item in separate window (for editing or just for viewing) you can see new title
    7) Open XML form in editor and regenerate project
    8) Only after regenerating project RenderListItem will display correct values.
    NW SPS13
    What should I do to correct the error?

    Hi!
          There's an SP13 Patch 3 which addresses this and a couple of other problems.
        Besides, you can also clear renderlistitem cache (System Administration -> Monitoring -> KnowldegeManagement -> Cache monitor -> ca_xmlforms_renderlistitems ) to update the render list values.
    Best regards,
                         Ilya.

  • Read XML Form source

    Hello all,
    I'm trying to programaticaly read the contents of an XML Form. I get my resource, grab it's content, get an input stream and start reading. The problem is that instead of a simple XML file being read, what comes back is an entire HTML page with all the layout for the list viewer form, not the XML source.
    The code that I'm using is below, I know that it's bad but this is just a test program so it doesn't matter.
    StringBuffer sb = new StringBuffer();
    IResource res = ....;// Here I get my resource
    try{
      IContent con = res.getContent();
      try{
        InputStream is = con.getInputStream();
        int c;
        while((c = is.read())!=-1){
          sb.append((char)c);
        scrollingText = addToText(scrollingText, sb.toString()+"<br>");
      }catch(ContentException e){
      }catch(IOException e){
    }catch(ResourceException rE){
    So is it possible to access the XML source so that I can read values of specific elements? How?
    Regards,
    Patrick.

    Hi Patrick,
    Please check out my reply in this thread :
    Re: Access XML content of XMLForm input
    Basically you need to use getUnfilteredContent() instead of getContent(), so that the XML doesn't get formatted by the resource filter.

  • Removing underline of hyperlink in RenderListForm of XML Forms

    Hi,
        I want to <b>remove the underline of the hyperlink in RenderList Form</b> of XML Forms clicking on which we navigate to the Show Form. Plz let me know the solution for this if anybody knows about it.
       Thanks in advance ...

    Hi yogita ,
    Just check  iam not sure .
    1) Navigate to System admin>PortalDisplay>theme editor
    2) Choose one of the themes which is being assigned to you.
    3)In the theme when you will open check for the option <b>Simple Element ---<LInks</b>
    4) There you can see in the links they have a property
    Text Decoration of Visited Links  --->underline
    For more on themes refer to
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3ea0d790-0201-0010-80b8-b680496a3838
    Still you face any trouble feel free to ask
    Thanx
    Pankaj

  • Relationship between XML Forms

    Hello,
    I have 3 XML Forms, Macro Process, Process and SubProcess. The 3 xml Forms must have a sequential id (like a tree structure). For example: I created a Macro Process with Id=1, when I created a Process I have to associate this Process with a Macro Process and it has and id of 1.1 (The Process is associated to Macro Process 1). If  I created a subprocess this have to be associated to a Macro Process and a Process and it has an id of 1.1.1 (Macro Process Id=1, Process Id=1.1).  Every forms that is created with the 3 Xml forms must have the following structure
    1 MacroProcess1
    --1.1 Process1.1
    1.1.1 SubProcess1.1.1
    1.1.2 SubProcess1.1.2
    --1.2 Process1.2
    1.2.1 Process1.2.1
    2 MacroProcess2
    --2.1 Process2.1
    2.1.1 SubProcess2.1.1
    This type of relationship can be done with xml forms, I can validate that the id that introduces the user is correct and it is not repeated, How can I do that? How can I visualize this 3 XML forms preserving the relationship between Macro Process, Process and SubProcess?
    Thanks in advance for your help
    Maria Teresa

    Hola Teresa,
         Mira tuve un problema similar y no lo pude resolver.
    Se que podes meter codigo en el form y resolver este problema.
    Es necesario para vos usar el Form Builder ? si tu respuesta es no porque no usas el Visual Composer, haces una conexion contra una base de datos y esto no deja de ser un simple ABM. Otra alternativa es que desarrolles usando el Developer Studio.
    Patricio.

Maybe you are looking for