XML Form builder - Issue with Reset button
Hi Experts,
Using xml form builder I have created a project.In the show form I have added the "Reset" button.
This reset functionality is working fine during creation of new xml file item.
But when I am editing the existing xml file , onclick of the "Reset" button it is not clearing all the data fields instead it is clearing the newly added data.
Please sugguest me how to achieve this functionality of clearing the fields during editing existing file item.
Thanks,
Regards,
Rudradev Devulapelli.
Hi Rudra,
Try writing custom java script and call the same in the button click.
~Priya
Similar Messages
-
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,
AriHi 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 -
Hi All,
1 ) My XML form builder is hanging up very very frequently (other than this, my portal is very fast).
when I save the project its hangs up at "50% saving internal model". then I have to close the xml form builder and reopen it and save it again (when i do it repeatedly, some time it saves).
when I click on "open Project" many times its not popup the project list, I have to close the xml form builder, logout from my portal and then login back.
Its horrible to work on this, keeps on hanging every time. Any idea why its behaving like this? as I said, my portal is very fast except XML form builder.
My Java version is 1.4.2_16... XML form builder verison is 6.xx
2) when clicked on "preview" button, can we open a pcd iview??? my requirement is, when user clicks on preview button I need to open my application built in PDK java (created iview out of it)?
Thanks,
Pradeepraised same thread twice, please reply to
https://forumsa.sdn.sap.com/thread.jspa?threadID=1535558&tstart=0 -
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 TabaraHi,
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 -
Problem creating a hierarchical tree in forms builder[issue with the query]
Hi all,
I have 2 tables.
box (box_id, box_name)
item(item_id, item_name, box_id)
In a box there are several items.
I want to create a hierachical tree to display items that are present in each box.
LIKE:
|---BOX1
| |----ITEM 1
| |----ITEM 2
|
|---BOX2
| |----ITEM 1
| |----ITEM 2
Currently i am trying this query:
SELECT -1 state, box_name, 'icon' icon, box_id val
from box b, item i;
I don't know what value to put for level, i don't know how to code the 'connect by prior' part.
Could you please advise me?
Michaël.
PS. Then i will eventually use this query in forms builder.Hi MichaelR
i get the FRM - 47321 error in forms builder ..
Hence In order to populate a tree, the Select order must retrieve 5 columns:
STATUS, LEVEL, LABEL, ICON, VALUE u should notice this orders in ur Query this will solve the error and pls notice that the...
My advice is to use the On Line help in ur forms builder to help u in this ...
Initial state : number
Node tree depth : number
Label for the node : varchar2
Icon for the node : varchar2
Data : varchar2This should be in WHEN-NEW-FORM-INSTANCE-trigger in order to populate ur tree...
another thing why don't u think of building ur tree as i did here in the following example...Pls have a look here ....
Hope this helps...
Regards,
Amatu Allah. -
Hi All,
1 ) My XML form builder is hanging up very very frequently (other than this, my portal is very fast).
when I save the project its hangs up at "50% saving internal model". then I have to close the xml form builder and reopen it and save it again (when i do it repeatedly, some time it saves).
when I click on "open Project" many times its not popup the project list, I have to close the xml form builder, logout from my portal and then login back.
Its horrible to work on this, keeps on hanging every time. Any idea why its behaving like this? as I said, my portal is very fast except XML form builder.
My Java version is 1.4.2_16... XML form builder verison is 6.xx
2) when clicked on "preview" button, can we open a pcd iview??? my requirement is, when user clicks on preview button I need to open my application built in PDK java (created iview out of it, which shows xml form in a better way)?
3) Can I show "Edit" form first other than "Renderer" form in News application? Presently it shows renderer form-> user has to click edit link -> then it will open Edit form. I want "Edit" form to be visible to the user in the first step itslef. is it possible?
Thanks
Pradeep
Edited by: pradeep bondla on Nov 19, 2009 3:08 AMHi.
I suppose changing of the JDK, because 1.4.2_16 is not recommended version (see SAP Note 716604). Refer to note 718901 - How to Change the JDK of the J2EE Engine.
Also check what version of client JRE in use. (see Note 1341069 - XML Forms Builder not supported if client JRE is 1.6).
Best regards,
Aliaksandr Zhukau -
Issue with HTML Editor of XML Form Builder.??
Hi All,
We are using HTML Editor of XML Form Builder to enter the Content. This content will be displayed to teh User by parsing these XML Files generated by the XML Form Builder Application.
But, when we parse the XML, the other field values are coming properly, except HTML Editor field Content.
This is working fine, only when I enter a Single line Text. If I enter some Spaces, New lines, Paragraphs, etc. the XML Parsing is not returning any Content..
And also when I use Text Area, the total content is returning as a Single Paragraph, Even if I enter multiple lines, spaces,.
If anyone has Idea on this, Please Help me to solve this Issue ASAP.
Thanks&Regards||
Ashok Kumar M.Hi Bala,
It is already mapped correctly. If I enter a single line Text in HTML Editor, I am getting the same Text after Parsing. But If I enter multiple lines, spaces, new lines, etc., then the Problem.
Thanks||
Ashok M. -
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 itHi
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 -
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 -
How to reference a file with the XML Forms Builder?
Hello,
I've created a form at the XML Form builder (I am using NW 04). This enables the users to create new topic.
I've created at at the "Edit" form an option to upload a file along with the new topic. The file is being saved in a subfolder of the topics main folder.
My question is how to create a link to the specific file that has been uploaded with it's specific topic at the "Show" Form? Note that the subfolder contains files of many topics, I want to link to this specific file uploaded with it's relevant topic when created. How do I do that?Hi Roy,
> I've created at the "Edit" form an option
> to upload a file along with the new topic.
What I expect that you have done is to add a browse functionality which browses within KM with the possibility to upload an image into KM?! As done within SAP Demo News?!
If that's the way, just compare the SAP Demo News: Create /DataSchema/News/image and map it to the browser, whereas in the show form part you'll map it to an image.
If I didn't understand you right and the issue is still open, please report...
Hope it helps
Detlev -
Creating radio buttons in XML Forms Builder
Hi everyone,
I can't seem to find any instructions on how to create Radio Buttons in XML Forms builder, anyone has a link or instruction on how to?
Thanks,
SamerHi Samer,
So taking the example for the slides, you need first to create a new child under DataModel for the DataSchema. You can name it "Gender".
Click on the Radio Button in the Toolbar and drag "Gender" from the left hand site into the Edit Form.
It should have already a first radio button and in the box on the bottum right you should see the reference in the Schema Reference field (/DataShema/DataModel/Gender).
You can now drag a second button from the toolbar and place it behind the first one. Make sure you add the same value in the Schema Reference field.
On the Show form or RenderListItem you need a Control Selector as mentioned on slide 18. You can just use right mouse click -> Add. Go on the new item on the right hand side, and click on "Add Multiple Labels". You can choose now how many radio buttons you have, here 2.
In our example enter in one Label "Condition" = "true" and "Label" = "Male" and in the other "Condition" = "false" and "Label" = "Female".
Finally, make sure that the Control Selector has the Schema Reference also as defined above (/DataShema/DataModel/Gender).
Hope this helps,
Robert -
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 AMHi 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 -
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. -
XML Form Builder does not load
I am having the following problem, when executing the Form Builder tool under Content Management, it does not load and i get the following error message:
CONNECTION ERROR: couldn't read response code*
And sometimes the window gets freezed.
I have read some previous Threads regarding this issue but the solution did not work to me.
Someting really strange is happening because if i log to port 80 (http://...) it works, but when I log to port 50000 (https://...) it does not, and that error message pops up.
I have alredy run the Enviroment check Tool and results were OK in both urls, as follows:
<i><b>https://*****.net/irj/portal
Test Environment: XML Forms Builder Environment Check *
Start Time: 2006-12-05 13:12:48 *
End Time: 2006-12-05 13:12:04 *
- Test: Java Environment
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:48
- Java Runtime Version is 1.4.2_13
- Test: Connection Tests
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:04
- Test: Download XML Forms Builder Jar
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:13
- Successfully loaded XML Forms Builder Jar from https://***net/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: 2006-12-05 13:12:13
- End Time: 2006-12-05 13:12:47
- Successfully loaded SAP XML Toolkit Jar from https://****/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
- Test: XML Forms Builder Version
- OK
- Start Time: 2006-12-05 13:12:47
- End Time: 2006-12-05 13:12:48
- XML Forms Builder client version is 6.4.1, server version is 6.4.1
- Test: Load Global Settings
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:48
- Successfully loaded XML Forms Builder settings
- Test: Load Project List
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:03
- Successfully loaded project list:
http://*******.net/irj/portal
Test Environment: XML Forms Builder Environment Check *
Start Time: 2006-12-05 14:12:33 *
End Time: 2006-12-05 14:12:46 *
- Test: Java Environment
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:33
- Java Runtime Version is 1.4.2_13
- Test: Connection Tests
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:46
- Test: Download XML Forms Builder Jar
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:23
- Successfully loaded XML Forms Builder Jar from http://****.net/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: 2006-12-05 14:12:23
- End Time: 2006-12-05 14:12:27
- Successfully loaded SAP XML Toolkit Jar from http://*******.net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
- Test: XML Forms Builder Version
- OK
- Start Time: 2006-12-05 14:12:27
- End Time: 2006-12-05 14:12:28
- XML Forms Builder client version is 6.4.1, server version is 6.4.1
- Test: Load Global Settings
- OK
- Start Time: 2006-12-05 14:12:28
- End Time: 2006-12-05 14:12:29
- Successfully loaded XML Forms Builder settings
- Test: Load Project List
- OK
- Start Time: 2006-12-05 14:12:29
- End Time: 2006-12-05 14:12:46
- Successfully loaded project list:
</b></i>
Don't know what can be, so if anyone has any idea it would be very helpful.
Cheers,
Ivan MilkovicHello,
Immediately after opening the XML forms editor from the Content Manager page, you will get a link Start Environment Check Tool.... Click on that and proceed for a check. It will take some 5-10 mins based on your connection speed.If every thing is successful, clear the browser cache and restart the browser and open forms editor again. It will open the data schema and properties filed and project browser and all.
I was having this problem just now and i resolved it with the above steps.
My JRE version is 1.6 and portal is EP 7 SPS 21 patched.
Regards
BP -
Xml form builder- DataSchema not expanding
Hi Experts,
I am facing a strange issue in XML form builder.
When i am trying to expand DataSchema root node by clicking on the + sysmbol. It is not expanding.
Is there any particular setting or what for this. I have tried this many time but unable to expand data Scheme and not able to create any nodes under DataSchema.
Please help me in resolving this issue.Hello,
Immediately after opening the XML forms editor from the Content Manager page, you will get a link Start Environment Check Tool.... Click on that and proceed for a check. It will take some 5-10 mins based on your connection speed.If every thing is successful, clear the browser cache and restart the browser and open forms editor again. It will open the data schema and properties filed and project browser and all.
I was having this problem just now and i resolved it with the above steps.
My JRE version is 1.6 and portal is EP 7 SPS 21 patched.
Regards
BP
Maybe you are looking for
-
I uploaded 7 podcasts using Podomatic. iTunes is using the titles of one of the podcasts as the title for the page. I need to change the page title and also remove my name (not sure why my name was posted instead of the name of the podcast speaker).
-
Everynow and then, my touchpad doesn't work in OpenBox.
It's really annoying. Arch runs amazingly well, but every now and then, my touchpad stops working. The mouse is still there, and I can move it, but mouse clicks (using the physical buttons, aswell as touchpad taps) just don't register. I've tried ope
-
Adobe Products Install Sheild crash NFORCE
Well after a full day of troubleshooting i've discovered that my Adobe products will not install correctly with Nvidia Nforce drivers. Premiere Pro install sheild crashes immediatly. Anyone else have this problem?
-
New Report Option in OBIEE 11.1.1.7
Hello All, I just started creating a New Report for the first time, for that i have created one Data Model using Essbase Datasource. After New -> Report -- It is asking to select Use DataModel (or) Use SpreadSheet (or) Use Subject Area. Then i selec
-
How do I enable scrubbing in the iTunes 11 mini player?
How do I enable scrubbing in the iTunes 11 mini player? I don't see a bar or any way to manually skip to the part of the song I wish to play.