XML Forms Template Translation

Hi expertes!
Customer is actively using XML templates for generating news and other KM content information.
All the XML forms templates are created using XML forms builder and created in local language. The customer has customers in different countries and want to have the Templates translated so they can easily create forms in different languages. Ie: forms translated, buttons, headings and so on....
One way of creating different templates would be to open up the local template in XML forms builder and make a copy(Save as) and translate the template, generate it and thus making template available in a different language. BUT this represents a lot of work if you have lets say 5-6 languages and all templates must be translated. Not to mention if you want to add a field, you would have to do it 5-6 times.
Question?
Are there any way of "translating" the XML template like you can do with "portal content translation" so you maintain only one XML form template but it changes according to the logon language of the portal?
like adding "language filters" to one xml template
Thanx in advance
Trond

Hi, Thanx to this Forums professional users
ihave found the way of translating the XML forms template for easy changing the XML forms language using Userid language. So when a user logs on and wants to create a new XML forms(news ect.) they get the form in their own language.
Found in SAP help:
Language-Dependent Resource Files
You can use the default resource files as a template for language-dependent resource files. Note the following naming conventions for language-dependent resource files:
<Preferences location>/<project name>/<project name>_<language key>.xml
For example, an item file for Italian could have the following ID:
/etc/xmlforms/SAP_DemoNews/SAP_DemoNews_it.xml
You have to create the language-dependent resource files manually (see Activities). You offcourse change the content of the xml
Question:
When we translate the form and test it, the entering template(xml) works perfect and we can generate the xml forms(news) in no time, BUT when displaying the XML forms in "SHOW" modus, it points back to a NON translated XML/XLS form. The translation of the form should also print/show the translated xml forms in SHOW modus also? Is there a way of translating the SHOW, bcs going into the forms builder is too time consuming and we can n ot do this bcs of short timeframe.
Any solutions to this, Thanx!!
Best Regards
Trond Gjerde

Similar Messages

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • XML Forms in EP 7.0

    Hi,
         Our application uses a customised XML Form that we developed in EP 6.0. This form has the HTML Editor as one of its UI elements, which worked fine in EP 6.0.
         But our Portal was upgraded to EP 7.0, after which the table buttons in the tool bar of the HTML Editor do not work.
         Can you please let me know the difference in XML forms in EP 6.0 and EP 7.0. Also the reason as to why the table buttons in the tool bar of the HTML Editor do not work.
    Regards,
    Balaramnaidu Bankuru

    Did you regenerate the XML Form Templates (project) after the upgrade?
    If not try to do that and check again..
    Cheers,
    Benjamin

  • Problem with HTML Editor box in XML Form

    Hi all,
    I am using a HTML editor box in one of the XML form template. When I parse the data from HTML editor and apply my own style sheet and display in JSP page, it has no effect on it. Instead the style set by HTML editor box is being applied. Is there any way to override the style applied by HTML editor ?
    For example,
    Suppose  user enters "Hello" in HTML Editor box and saves the xml form.
    Then when I parse this data and apply my style sheet like
    <style="font-family:arial; font-size:12"><%= datafromXMLform() %>
    I should get "Hello" in arial font with size 12, instead I am getting size=1 because of style applied by html editor.
    Is there anyway to remove/override this style?
    Thanks in advance,
    Sandesh
    Edited by: sandesh kumbhar on Oct 27, 2008 4:12 PM

    Got it !!!
    In the property section of html editor in form builder , set the style as none/empty instead of standard.
    Sandesh

  • Xml form and Approval workflow/process

    Hi ,
    I have created an xml form template and
    I have to integrate with Approval process ..
    My requirement is something like this ....
    After the content created using the xmlform template by the content generator(role).
    It should go to the Approver(role) action_inbox for approvalthen once Approver  approves the content should be copied from the original folder to a predefined folder.
    Actually I trying to implement repository service,
    With in which I am registering with
    StatemanagementEvent.PUBLISH
    Yet I am not sure whether I am doing correct or not
    Can anyone Please guide me how to achieve this
    thanks

    Hi Patricio,
    thanks for the reply..
    Yes I think I need repository service..
    I am using the xmlform template to generate the many contents. say I have generated
    three content from a xmlform template
    One content has to move to folderA
    second content has to move to folderB
    third content has to move to folderC
    for this move action ... I am planning to implement repository service where I will capture the Approved Event( Right now I do not know which event is triggered.. I am searching for that.. if you know please let me know )
    then after getting the which resource( rather in my case the xml file ). I have to move/copy this xml file to a designated folder..
    this is actually my requirement
    Sorry for not making clear about my requirement in my earlier query..
    I would like to know ...
    for this requirement is there built-in facility something like just configuring EP or
    Am I going in the right direction ?
    I am bit confused about the stepos involved in the approval process..
    which comes first  Publish or Approval
    thanks
    pk
    Message was edited by: PK G

  • Renaming Xml form

    HI Gurus,
    I want to rename the standard xml form templates provided by SAP .
    lIKE sap_demo_news to xyz_demo_news.
    The issue that I am facing is that I want a folder in my km to show availability of only my renamed form
    for example when a user goes to /documents/namit and click on folder and create an xml form
    he should see only xyz_demo_news. this as a template
    i got to sytemadmin->sytem config->km-> CM-> form availabilty and set the form availability
    of documents/namit  to xyz_demo_news.
    But unfortunately when I goto content admin -> Km content and /documents/namit  folder
    I dont get any template for creating xml forms wherein I should have been getting xyz_demo_news..
    do i need to make setting somwhere else after renaming

    HI
    ur question ?
    I want to rename the standard xml form templates provided by SAP .
    lIKE sap_demo_news to xyz_demo_news.
    In xml forms builder use save as button to save a copy of sap_demo to xyz_demo_news and generate it.
    Note : just renaming the form in the repository will not work. The form has to be generated in XML Forms bulder.
    i got to sytemadmin->sytem config->km-> CM-> form availabilty and set the form availability
    of documents/namit to xyz_demo_news
    the path is correct .
    set the global setting  --- Enforce availability of all forms ( remove the tick from the radio button)
    then what i had done is that i had created a new form in the folder setting and in the field i included the form what i had generated.
    This way u can display only the form u wish to display.
    Regards,
    Vijay.
    Edited by: vijayakumar kanniah mohan on May 14, 2008 1:28 PM

  • The data source "....." referenced in the form template is not valid or cannot be found

    Greetings,
    I have an InfoPath 2013 form that uses an external data connection.  The data connection became corrupt (somehow, no one knows who changed what).  A user went in to InfoPath designer and created a new data connection and changed all references
    to use that new data connection.  Now the form cannot be published at all with the error
    "The data source "GetUserProfileByName" referenced in the form template is not valid or cannot be found"
    The new data source they created is GetUserProfileByName2 and changed all references.
    Of course, since it is broke, they asked me to see if I can find the issue.  I went through the form looking to see if they missed any references to the old data connection and can't find anything.
    Where is InfoPath storing the old data connection information and where can I remote it?  I looked in the manifest and don't see it there either.
    Any thoughts?
    Thank you!

    Hi Bob,
    There are many XML schema files for the data connection, I recommend to check if the references to the XML files have been changed to the new schema files in the manifest file.
    For example, if we create a data connection called GetUserProfileByName, then there will be one XML file and three XML schema files for the data connection.
    Please make sure that all the references are updated in the manifest file.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • XML tags in an "export : XML" Report Template

    Hi All,
    I'm using the export XML report template to produce XML from a query. One of the column contains XML tags and the template is translating eg: if the column is "Groups" then I get:
    <Groups>& lt ;Group& gt ;Sales & lt ;/Group & gt ; & lt ;Group& gt ;IT& lt ;/Group& gt ;</Groups>(ignoring all the spaces - OTN is translating the & gt 's :)
    instead of:
    <Groups><Group>Sales<Group><Group>IT</Group></Groups>Is there an easy way to stop this ?
    Thanks,
    Steve
    Edited by: spilgrim on Mar 6, 2009 12:14 PM
    Edited by: spilgrim on Mar 6, 2009 12:14 PM

    Hi Steve,
    Did you ever solve this? I'm having a similar issue while trying to build a Report Query that I want to build with nested elements.
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    - &lt;ROWSET&gt;
    - &lt;ROW&gt;
    &lt;EE_ID&gt;467&lt;/EE_ID&gt;
    &lt;EE_GRIDS&gt;
    &lt;EE_GRID INDEX="1"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;MIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;20&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;EE_GRID INDEX="2"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;VIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;30&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;/EE_GRIDS&gt;
    &lt;/ROW&gt;
    - &lt;ROW&gt;
    &lt;EE_ID&gt;468&lt;/EE_ID&gt;
    &lt;EE_GRIDS&gt;
    &lt;EE_GRID INDEX="1"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;MIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;20&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;EE_GRID INDEX="2"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;VIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;30&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;/EE_GRIDS&gt;
    &lt;/ROW&gt;
    &lt;/ROWSET&gt;
    Thanks
    Keith
    Edited by: kmatthew on Mar 17, 2009 2:44 PM

  • Issue in Java Scipt in XML form

    Hello Experts,
    I have one issue in our client portal, which is really giving me hard time to resolve.
    So I have come to you experts for helping me to resolve this issue.
    So below are the details of the issue.
    Actually it goes like that, we are using B.Texx in our Portal Environment and most of the work is done by the users in the portal, who has author rights. Please note that Authors have the right to Edit and save the content.
    Most of the things are made on XML forms, with the help of Java Scripts.
    Now there is one XML form(Add General Content), through which users add the general contents and there is one template provided to the user for that content. The XML forms are integrated here with the Tiny MCE editor.
    Now, there is one link (Insert/edit link) in the Tiny MCE editor, when we write some text in the body and select the text, the link in the editor gets activated and when we click on the link, a pop up comes up, in which there is a browse button, through which we select the Navigation Element Link , which takes us in the navigation of the portal content(the way it is viewed by user in the portal according to the roles ), showing us different content and we select an content and press finished. Now the selected text becomes as a link in the body of xml form, then we fill up the title and there is one preview button. When we click on the preview button, the link is displayed to us.But when we click on that link nothing happens.
    Please note that if we save that form, the links appears on portal and we are able to navigate through the link.
    For this I have checked the js file(xmlformpreview_redirect.js)  responsible.I am sharing the code of the js file below.
    // @author llaegner
    // Get current URL of XML Forms Preview
    // This Javascript should be included in the ShowForm Formular (old XSL Style)
    // in xml forms builder in a label-field in the attribute caption
    // this javascript file is then called by the Preview Button on an Edit Form, because the ShowForm is launched automatically always
    // @changes by ekaraca
    // Add a if-Control so a redirect will work by clicking the xml file as well
    var currentURL=top.location.href;
    var redirectURL="";
    var startOfParameters=currentURL.indexOf("?");
    if (startOfParameters < 0) startOfParameters=currentURL.indexOf("%3F");
    if (startOfParameters > 0) {
         // Provide all parameters for SAP original preview iview to our new iview
        redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview"+currentURL.substring(startOfParameters);
    if(currentURL.substring(currentURL.length-4)==".xml") {     
         var xmluri = currentURL.substring(currentURL.indexOf("/irj")+15, currentURL.length); /* /irj/go/km/docs <---- 15 letters */
         redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview?show/test="+xmluri;     
         top.location.href=redirectURL;
    else {
         // If we have found something to redirect
         if (redirectURL.length > 1) {
              // Change current location and switch immediately to new iview
              top.location.href=redirectURL;
    I would really appreciate if any of you experts help me resolve this issue.
    So I am eagerly waiting for the response from all of you.

    Experts...still waiting for your comments.

  • Issue in Preview through XML forms having TinyMCE editor

    Hello Experts,
    I have one issue in our client portal, which is really giving me hard time to resolve.
    So I have come to you experts for helping me to resolve this issue.
    So below are the details of the issue.
    Actually it goes like that, we are using B.Texx Framework in our Client Portal Environment and most of the work is done by the users in the portal, who has author rights. Please note that Authors have the right to Edit and save the content.
    Most of the things are made on XML forms, with the help of Java Scripts.
    Now there is one XML form(Add General Content), through which users add the general contents and there is one template provided to the user for that content. The XML forms are integrated here with the Tiny MCE editor.
    Now, there is one link (Insert/edit link) in the Tiny MCE editor, when we write some text in the body and select the text, the link in the editor gets activated and when we click on the link, a pop up comes up, in which there is a browse button, through which we select the Navigation Element Link , which takes us in the navigation of the portal content(the way it is viewed by user in the portal according to the roles ), showing us different content and we select an content and press finished. Now the selected text becomes as a link in the body of xml form, then we fill up the title and there is one preview button. When we click on the preview button, the link is displayed to us.But when we click on that link nothing happens.
    Please note that if we save that form, the links appears on portal and we are able to navigate through the link.
    For this I have checked the js file(xmlformpreview_redirect.js)  responsible.I am sharing the code of the js file below.
    // author llaegner
    // Get current URL of XML Forms Preview
    // This Javascript should be included in the ShowForm Formular (old XSL Style)
    // in xml forms builder in a label-field in the attribute caption
    // this javascript file is then called by the Preview Button on an Edit Form, because the ShowForm is launched automatically always
    // changes by ekaraca
    // Add a if-Control so a redirect will work by clicking the xml file as well
    var currentURL=top.location.href;
    var redirectURL="";
    var startOfParameters=currentURL.indexOf("?");
    if (startOfParameters < 0) startOfParameters=currentURL.indexOf("%3F");
    if (startOfParameters > 0) {
         // Provide all parameters for SAP original preview iview to our new iview
        redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview"+currentURL.substring(startOfParameters);
    if(currentURL.substring(currentURL.length-4)==".xml") {     
         var xmluri = currentURL.substring(currentURL.indexOf("/irj")+15, currentURL.length); /* /irj/go/km/docs <---- 15 letters */
         redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview?show/test="+xmluri;     
         top.location.href=redirectURL;
    else {
         // If we have found something to redirect
         if (redirectURL.length > 1) {
              // Change current location and switch immediately to new iview
              top.location.href=redirectURL;
    I would really appreciate if any of you experts help me resolve this issue.
    So I am eagerly waiting for the response from all of you experts present here.

    guys i m still waiting for some expert comments here...plz help me out.

  • 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

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

    Hi 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

  • 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 achieve Single content but multiple views in XML form builder

    Hi,
    I have requirement something like this.
    I am using xmlform builder to generate the content template for our portal.
    I have 5 links where I need to render html content dynamically. I am using NewsExplorer and NewsBrowser layout. Presently I have created  5 xmlforms project and design the layout in the renderlist item. I am not satisfied with my approach. It seems very inefficient of doing it as all the content layout is same. but all the different iviews  has different content to pick.
    To make myself clear I am giving with an example
    I have two iviews
    Policy1 and Policy2 which are KM Navigation Iviews whose init path are diferent path to get the different content.
    As the content has to generate dynamically , I am using NewsAuthor to create the content.
    To achieve this , I have created 2 xmlform project( though the rendering format is SAME) and 4 iviews  ( news explorer and newsbrowser for each ie policy1 and policy2).
    Since I need to generate some 100 contents like this .
    I do not think my approach is a very efficient one though the rendering format remains same.
    I wish to achieve this by using one xml form project , one News author and one news browser to create different content as long as the rendering template format is same
    this is something like this
    when I click on the Policy1 link for content creation , It should only shows Policy1 content format . and should not display the content authoring for policy2. This holds good for the viewing also .and also I would like to create only one xml form project as long as the rendering format is same.
    can anyone please tell me how to achieve this ?
    thanks in advance
    pk

    Hi Jasmine,
    To make your project link alone visible, try this
    To make the global setting for the availability of XML forms, choose Content Management > Form-Based Publishing > Forms Availability > Global Setting.
    To make specific settings for folders, choose Content Management > Form-Based Publishing > Forms Availability > Folder Settings.
    You need to give the name(s) of those XML project(s) you want to display in the Forms to Include parameter in the Settings for Folders.
    Forum reference:
    /message/1371270#1371270 [original link is broken]
    /message/1313368#1313368 [original link is broken]
    Consider rewarding points for helpful answers,
    Regards,
    Shankar

  • Multivalued metadata properties in XML Form Builder

    I have created some multi-valued properties in KM having their own namespace. When I assign these properties to the XML FB, the values are loaded only if I use a combobox. But my requirement is to selct multiple values, so if I associate a checkbox as the data type, I find none of values are loaded into XML project. Have anyone tried this out? Is it a bug? I am using SPS14.
    Kind Regards,
    Tridib

    Hi Detlev,
    I tried the workaround you described. Defined the allowed values, checked the declared property as "Multi-Valued", selected "allowedvalues_multivalued" as property renderer, refreshed the properties inside of the XML Forms workbench and wired this property to the checkboxes whose captions and values correspond to the allowed values just created and so on.
    When I generate the XSL template, click on the checkboxes inside of my HTML output and click on "Save" only the first value of those I have checked will be saved. (as to be seen in the details of the generated document)
    Although it seems that I have done everything all right, obviously I haven't.
    When I look into the generated XSL document I can see why this happens because several checkboxes with the name will be rendered.
    What did I wrong? Any help would be appreciated.
    (we run EP 6.0 SP 13)
    Thanks in advance
    Ralf

Maybe you are looking for

  • How to pass thr document from Webdynpro into SAP R/3?

    HI Gurus, I have a requirement to offer a Document uploading option through Java webdynpro screen. I have referred the below link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71 which has the s

  • Outlook invitations have incorrect date

    Hope someone can help, when I create meeting rooms and send out the invitations to all participants the time and date of the 'event' is displayed correctly in the email message generated by Adobe Connect Pro, but if I want to send out a calendar remi

  • How can i make the tank go to 250??

    the problem i have is the following: the tank goes to 270 when it fills from Ingr 1 , the tank should fill in to 250  and by 15 each time until it gets to 3000 and it should decrement to 1000 from 3000, i hope some can help me. David Attachments:

  • DHCP periodically stops working with TC ??

    I have an Apple TV, Macbook Pro, iPhone and iMac connecting to the TC via 802.11g. About every other day my Apple TV and iMac (which are connected and powered on all day) start self-assigning ip addresses (169. range) but they still show they are con

  • Command+Shift+; to spell check in Safari 5.1 causes reload of webpage, losing all my work?

    When I'm writing something in a Safari window pain on a web page and there is a spelling or grammar error and it's detected by under lining the word with red dotted lines.  I use Command+Shift+; to bring up the spell/grammar tool.  When I click the I