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
Similar Messages
-
How to change the Hyper links color in the XML form
HI SDNs
Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview. I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
Appreciate if you give suggestion.
Thanks
RamanaHi Ramana,
The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
Hope this helps.
Kind regards,
Joost -
Change background color in XML Forms
Hi all ,
I would like to implement this feature
currently we have xml Form it display Messages for CRM users but what we would like to implement is develop as stanadard as posible a solution to give more visibility for the newest messages
i don't mind if background color ,
with a image or whatever
i just check something about implement Custom Renders but i don't get info to develop on my own about interfaces to implement location of jar files
any help would be apreciate
Regardsi get it
changing html code in undelying xsl file -
How to change the date format in xml form?
hi,
How to change the date format in xml form?
For example: 11/20/2008 3:00:03 PM -> 11-20 03:00
Any opinions greatly appreciated!
Thanks.
Edited by: ke wenxing on Dec 2, 2008 8:33 AMYou could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
Click the defaults button and change the date format.This changes date format for all the dates in your login. -
Changing date format in XML form!!
Hi,
I have created a form by using XML form builder.I have many date fields in the form. I want to change the date format of date field from default MM.DD.YY to DD.MM.YYYY.
Helpful answer will be appreciated with points.
Regards,
DharamHi Dharam,
you can change the date format in the KM Layout set as described here:
https://www.sdn.sap.com/irj/sdn/thread?threadID=240057
but the XML Forms functionality does not refer to the additional format information set on he property as you can read here:
https://www.sdn.sap.com/irj/sdn/thread?threadID=105044
Hope this helps,
Robert -
Hi All,
We are having few XML forms in landscape.There is a requirement to put some text messages in the existing form.
For example if i click on submit button , it must throw a message that your form has sent for approval.I have forms builder and opened the existing form.Have created a copy of this by saveas option.i have clicked on submit button in EDIT FORM and the properties of submit are
class Button
Caption Submit
Action Display
Style Emphasize
Description
Alignment
Vert Alignent
X
Y
I tried to change the action from save to ( Link to source text, display,edit ,create).
I got struck here .
Please let me know the procedure to edit this form and put the message when i click on submit button.
I need this message after validationg the form input fields.
Thanks in advance..
Sridar.To brief my requirement i have an existing form where i need to put some popup message after clicking submit button.the question here is
1.Where do i find the source code for this ( navigation steps please)
2.What are the steps i follow in changing the existing forms.
3.is it possible to put a popup in xml form
thanks in advance.. -
Xml form HTML Editor control change.
Hi,
Is it possible to change External weblink control property of HTML Editor used in xml form builder.?
As of now this control gives 2 options to provide external weblink (1.Open in active window ,2.open in new window).I want to add open in same window as top.
Can anyone give some useful information ?
Thanks and Regards,
Jack.
Note: Points will be awarded for useful answers.Hi jack men,
If you are still interested in a solution to your problem...
We just hit upon the same problem. I found out that XMLForms reference htmledit4.js in their <XMLForm-Name>Edit.xsl, so you have to adapt that one.
I saved htmledit4.js and renamed it to htmledit5.js so that I can change the HTMLEditor settings only for my XMLForm (and not for e.g. SAPNewsForm).
I changed the entry in my XML-Form Editor settings XSL to reference the new JavaScript file:
[code]<xsl:value-of select="$xmlformsroot"/>/htmledit/htmledit5.js</xsl:if>[/code]
Then I copied the method body of htmledit3.js (the standard htmleditor JavaScript file) to htmledit5.js and adapted it to just show the two tragets of <i>self</i> and <i>top</i>.
The method to display link properties is: <b>htmlb_hed_makeWebLinkDialog</b>
Find this method in both files. Then find in htmledit3.js the beginning of the target window selection-box:
[code]sSizerHtml += "<SELECT id=htmlb_hed_link_launch_mode class=\"urDdlWhlSml\">";[/code]
the following lines of code determine the selectable values.
You will notice that htmledit4.js misses a few entries. Just copy all or the ones you need.
For your convenience I show my code here:
[code] sSizerHtml += "<td>";
sSizerHtml += "<span style=\"font-size:1em;\">";
sSizerHtml += "<SELECT id=htmlb_hed_link_launch_mode class=\"urDdlWhlSml\">";
//-- target=_blank
sSizerHtml += "<OPTION value=\"_blank\" ";
if(modOpenMode==1) sSizerHtml += "selected";
sSizerHtml += ">";
sSizerHtml += txtMap["TXT_HTMLB_HED_BLANK"];
sSizerHtml += "</OPTION>";
//-- target=_parent --
sSizerHtml += "<OPTION value=\"_parent\" ";
if(modOpenMode==2) sSizerHtml += "selected";
sSizerHtml += ">";
sSizerHtml += txtMap["TXT_HTMLB_HED_PARENT"];
sSizerHtml += "</OPTION>";
//-- target=_search--
sSizerHtml += "<OPTION value=\"_search\" ";
if(modOpenMode==3) sSizerHtml += "selected";
sSizerHtml += ">";
sSizerHtml += txtMap["TXT_HTMLB_HED_SEARCH"];
sSizerHtml += "</OPTION>";
//--target=_self
sSizerHtml += "<OPTION value=\"_self\" ";
if(modOpenMode==4) sSizerHtml += "selected";
sSizerHtml += ">";
sSizerHtml += txtMap["TXT_HTMLB_HED_SELF"];
sSizerHtml += "</OPTION>";
//-- target=_top
sSizerHtml += "<OPTION value=\"_top\" ";
if(modOpenMode==5) sSizerHtml += "selected";
sSizerHtml += ">";
sSizerHtml += txtMap["TXT_HTMLB_HED_TOP"];
sSizerHtml += "</OPTION></SELECT></span>";
sSizerHtml += "</td>";
sSizerHtml += "</tr>";[/code]
I didn't check yet if a new generation of the XMLForms Project in the XMLFormsBuilder overwrites the changes in the XMLFormsEdit.xsl, however I guess so. A better way would be to adjust the JavaScript reference in some other configuration file that I haven't found yet, until then just adapt the XSL everytime...
If Carsten Buechert contacted you regarding the exchange of the whole control, I would be interested myself as well.
Cheers
Kilian -
Hi experts,
How to change name of XML form saved in KM content. Currently it shows ''70fc4796-f9a5-2e10-c3bc-b659540ddc71.xml '. Appreciate any suggestions.
Thanks,
NanieHi,
You will have to add a input field in edit form of xml form. If you already have one, you can use that. Instad of binding this field to xml schema, bind it to Standard property which you will find under properties node. Display name is the property you should bind it. Whenever you save your form that field will over write the name of the document.
Nitesh -
Where can we change the XML code of the XML form ?
Hi
How can we change the coding of the XML forms ? I am able to see xsl and aml forms in KM content ...but i think that are not editable...can anybody help me out
Thanks in advanceHi,
In KM folder "/etc/xmlforms" you will find a folder with the same name as your XML Forms Builder's project.
There are *.xml and *.xsl files for each of defined views (Edit, Show, RenderListItem) in this folder.
You may modify any of these files, the changes will have affect immediately after new version of file is uploaded.
But remember DO NOT USE "Generate project" button of XML Forms Builder anymore, otherwise your changes will be discarded.
The simplest way to develop and debug .xsl files is to connect "/etc/xmlforms/your_project" folder by Portal drive and copy xsl files from local computer directly to the KM.
Regards, Mikhail. -
How to change dateformat of VALID FROM and VALID TO properties in xml forms
Hi all,
I have created a news using xml form bulider and i have given lifetime for that news ,also displaying the VALID FROM and VALID TO in news.By default it is in mm.dd.yyyy format but i need to display the dateformat as dd.mm.yyyy in show form.Is there any possiblity to change the format in XSLT or any other solutions.
Regards
BalaHi Bala
Check this XML FORMS - Date Format.
Its a quite easy way.
Regards
BP -
Font size of label element in xml forms
Hi,
I am modififying the default xml template sap_app_news xml form in the form bulider.
I have added a new label in renered list with the cation as read more .
I want that on clicking the read more label the entire news should be displayed .
I am able to achieve this functtionality
Hosoever, the font size of this label is not getting reduced,
these are the properties for my label element
i) Caption Read More
ii) Hyperlink -Display
iii) Style -Functional Link
iv)Text Colr - Blue
v) Font -arial
vi) Font size - 2
vii)Display HT - No
viii)Width 80
viii) Height 20
I have changed the font size , height etc ..but teh label size doesnt get effected .
I havent craeted any new child in schema for this label ,
Can somebdy pls help . is it a bug, I have tried various combination but the font size of label is not reducing , color though is changing ..Not working neither here !
-
How to generate a report from data entered by users in XML forms
hi,
i have a requirement to generate report from xml forms which are created using XML forms Builder and stored in Km folders. management want to see in a single report all the activities of all the users in the xml form in such a way that one row in the report presents data blongs to each user. i have no idea regarding this.
can any one help me in detail.
Thanking you in adavance
sajeerHi Sajeer,
You have given quite few information what data should be collected / showed in detail. Anyhow, it sounds as if you want to provide data which isn't provided within the standard portal so far (see http://help.sap.com/saphelp_nw2004s/helpdata/en/07/dad131443b314988eeece94506f861/frameset.htm for a list of existing reports).
For your needs you probably have to develop a repository service which reacts on content / property changes and then you would have to log these changes somewhere, for example in a DB. On the other side, you then could implement a report iView which accesses this data and displays it as whished.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
Unable to edit the content of an XML form
Hello Experts,
I am facing a weird issue after updating my XML form.
Earlier scenario :
We were displaying only the Title of the news along with the content.
New scenario :
We had to display image also along with the title and content of the news.
Changes i did :
I have updated my XML form with adding an Image UI in the XML form.
Issue :
After adding the image UI and generating the project in the content part it is giving a message as in the image below.
Due to this message as "Loading content please wait" i am not able to save the content of the news due to which i am getting dump on the screen.
Please help.
Its an urgent issue.
Thanks in advance.
Regards,
GazalaHi gazala,
Hope you are doing good.
Is the portal 7.3? can you let us know the version? Trigger 5-6 thread dumps with 30 secs interval each for your server when you reproduce the issue.
More info:
http://wiki.sdn.sap.com/wiki/x/VYZ3Cw
SAP Note No. 1020246-Thread Dump Viewer for SAP Java Engine
SAP Note No. 710154-How to create a thread dump for the J2EE Engine
This will help check this further
Hope this helps.
Kind Regards,
Hemanth
SAP AGS -
How can i convert the HTML information in XML form to a PDF?
Hi does any body know how can i convert the content of an HTML field in a XML Form in a regular text to include in a PDF in a Java program?
Hi ,
On the tool bar you have an option "Browser" which is next to "HTML Editor" .
You know that for using these elements wo have to map them with Data Schema.
Step by step
1. In data Model Under Data Schema Add a child and name it Read_More.
2. In the left hand corner ,click on tab Type and from the drop down select "rid"
3.Click on the "Browser" from the toolbar (as told earlier) and drag and drop it on the form.
4. Drag the Data schema which u have made(Read_more) and drop it on the browser on form. On right hand side u will se the mapping done.
5.Click on the "Browser" which is there in the form and on the right hand side of the form u will see the property window.
6.In property window change the value of action property to "Item Entry point"
7. Repeat step 3 and 4 in Render and show form but using "label" nad not browser.
Do not forget to add Save button in Edit Form.
This will solve your problem.
PS:Rewards Point Please.
Regards,
Naveen Gupta -
How can you update the content of a textfield in a dynamic xml form from MSAccess and VBA
I am trying to use the code below to update a field in a dynamic xml form created by Livecycle.
I can read the field content but cannot change it.
What am I missing?
Thanks
R
Sub test()
Dim oPDF As AcroPDDoc
Dim FileDestName As String
Dim jso As Object
Dim ofld As Object
FileSrcName = "C:\Documents and Settings\My Documents\ADOBE Forms\NoVB.pdf"
Set oPDF = CreateObject("AcroExch.PDDoc")
Set jso = oPDF.GetJSObject
Set ofld = jso.getfield("form1.TopForm.Header.Subform1.Contact")
Debug.Print ofld.Value
ofld.Value = "HHH"
Debug.Print ofld.Value
oPDF.Save PSsavefull, FileSrcName
oPDF.Close
Set jso = Nothing
Set oPDF = Nothing
End SubYou need to research the difference between an AcroForm and an XFA form. You're trying to access a "Field" object, which is an AcroForm object. An XFA form does not have fields, it has nodes. The JavaScript you are using is specific to AcroForms and you are working with an XFA form.
Maybe you are looking for
-
I'm guessing this is an extension add-on issue, but don't know why it went away. When I go to "manage search engines" and then "get more search engines" i see a ton of options. i just want the simple google search I used to have. Please let me know w
-
Retrieve data from arraylist problem
I need some helps from u guys on this. 1) I have an arraylist. I will compare the value in the arraylist with object A. 2) I will compare the value in the arraylist with object B. 3) I need to retrieve the value in the arraylist between A and B i.e.
-
CMP Entity beans using local interfaces
Why CMP entity beans with CMR relation ship using local interfaces only? Why we should not use remote interface to get the CMR field relationship? Pls give me the solutions
-
HT204389 how can install siri on iphone 4?
How can install siri on iphone 4?
-
HT1577 i purchasese an in-app download o August 3, 2012 and it has not downloaded yet
how long do i have to wait for an in-app download