Name property of XML forms

Dear All,
I need to display a fixed name (which cannot be edited by the end-user) on my Edit and Show Xml forms.
The Name property available allows the Name to be entered on in text field and carries the same perfectly when rendering the Show form.
However being in a text field allows the user to edit the name.
Is there any way by which I could display the name property on a label or a locked control?
Thanks

Hi,
I have tried placing a label and getting the Name Property to refer to the same but the system does not pick up the text on the label.
I have also tried to replace the text field with a label but that didn't work either.
It only seems to picks up the text as 'Name' when placed in a text field.
Best

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

  • Multiselect Metadata Property in XML Form

    I have created an xml form to create news items for our company. The basics of the form can be found on http://service.sap.com/nw-howtoguides at Portal>KM and Collaboration>KM. I would like to add a custom metadata property that i have created that is multiselect. However i can't seem to figure out how to add the multiple checkboxes.
    Anyhelp would be appreciated.

    Hi Carsten,
    I think you might be able to help me out in this.
    I have created a multi valued property named “sls_region” with allowed values All, America, Europe. I have assigned this property in custom parameter section of Editxsl file of xml form.
    I have created a filter with “sls_region “property with all allowed values for property available in dropdown.
    While uploading news whatever value is selected in dropdown of filter gets assigned to custom property of the form.
    To make it more clear
    sls_region has value All, America, Europe
    If in filter dropdown America is selected …..custom property has value set as America
    If in filter dropdown Europe is selected …..Custom property has value set as Europe
    If in filter dropdown All is selected …..Custom property has value set as All
    This is working fine .Code which I am using for this is
    <xsl:param name="ext_mars:sls_region" />(Defined in custom parameters section)
    <input size="30" type="hidden"> 
    <xsl:attribute name="name">wcmprop.mars:sls_region</xsl:attribute>
    <xsl:if test="$ext_mars:sls_region=' '">
                     <xsl:attribute name="value" /> </xsl:attribute>
                </xsl:if>
                 <xsl:if test="$ext_mars:sls_region!=' '">
                   <xsl:attribute name="value">
    <xsl:value-of select="$ext_mars:sls_region"/></xsl:attribute>
                </xsl:if>
    </input>
    But I need to change functionality like when user select All in dropdown of filter, all available values for that custom property get sets in form.
    If in filter dropdown All is selected …..Custom property should have value set as All, America, Europe
    Please guide me how to modify above code to achieve this.
    Regards,
    Madhvika

  • Property in XML Form

    Hallo,
    I have a problem with a property in the xml forms builder.
    The property should show the parent folder of the xml file. So I developed a property renderer.
    In the details page the property is displayed correctly.
    But when in the RenderListItem, the property is empty.
    Any idea?
    Regards,
    Gerhard

    Hi Gerhard,
    unfortunately your (any) property renderer will not be used in XMLForms. Its only
    possible to use basic property types in XMLForms (e.g. date, string, ...) and ONLY the values stored inside.
    Maybe you can combine the RenderListItem in you custom FlexUI LayoutSet (e.g. you can display your PropertyRenderer beside the XMLFormsItem)
    with kind regards
    --Matthias

  • How do I denote a file name for submitted XML form data?

    Hi guys, is there a way to change the submitted XML file name [when emailing form data] to something other than the cryptic string livecycle uses e.g. _e8hfydsh55hsksdf.xml
    Thanks for any help, cheers Dyr

    When you preview a PDF from inside designer, it uses a temp filename for the doc and therefore when you test xml submit etc you will get the 'e.g. _e8hfydsh55hsksdf.xml' as a filename. However if the form is saved locally (e.g. MyForm.pdf) and you use Reader / Acrobat to open the PDF, then the email's subject message as well as the xml file will be MyForm.xml. Does that help you?

  • How to make fixed position of column names on JSP/xml form

    Hi,
    I use Oracle 9i, ver. 2. I create a browse form (JSP) where I can see the data from one large table through Microsoft Internet Explorer (version 6).
    When I scroll the browse form I would like that names of
    columns to be fixed on the form.
    I trued with following tag but without success:
    <h1 style="background-color:yellow;position:fixed;"> Column_names_1, Column_names2</h1>
    I would appreciate any help on it.
    Aleksandar

    Hi there
    Hmm interesting.  You can try this below which seems to work by listeneing for the headerShift event and the mouse doen event.  Basically it records the original layout of the coloumns and then if the user try to put a column at position 0 then it resets them.  The others can moce around fine.  The ideal would be to prevent the default behaiviour of the headershift event but this is not cancelable.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  >
        <mx:Script>
            <![CDATA[
                import mx.events.IndexChangedEvent;
                import mx.controls.dataGridClasses.DataGridColumn;
                import mx.rpc.events.HeaderEvent;
                private var originalColumns:Array;
                private function headerShiftHandler(event:IndexChangedEvent):void {
                    // If new pos of the dragged column is going to be 0, then reset to original layout.
                    if (event.newIndex == 0) {
                        dg.columns = originalColumns;       
                // Capture the original column layout.
                private function captureColumns():void {
                    originalColumns = dg.columns;
            ]]>
        </mx:Script>
        <mx:DataGrid id="dg" x="51" y="125" width="414" height="207" headerShift="headerShiftHandler(event)" mouseDown="captureColumns()">
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1" resizable="false" draggable="false" />
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
                <mx:DataGridColumn headerText="Column 3" dataField="col3"/>
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>
    Hope this helps
    Andrew

  • In XML Forms Date Format want to display like this (dd-MMM-YY)

    Hi All,
    I created one Custom Property for Date and use that property in XML Form Builder. In the RenderList that Date Field Display as (Medium Format) showing like this Apr 21, 2009 Format.
    But i requirement is to display Date Field as like this 21-Apr-2009 (DD-MON-YEAR) Format.
    In the Custom Property i set the
    Additional Metadata (csv): +   customFormat=dd.MMM.yyyy but this way is not working for XML Forms.(Refered this SAP NOTES:816761)
    when the IE Browser language is English(United States) [en-us] Date Field Display as (Medium Format) showing like this Apr 21, 2009 Format.
    But when the IE Browser language is English(canada) [en-ca] Date Field Display as (Medium Format) showing like this 21-Apr-2009 Format. so this way is not a right way..
    I need to achieve this..  please help me.. Appreciate for helpful answer.
    Regards
    Thillai J

    Thillai:
    Refer to this post:
    https://www.sdn.sap.com/irj/scn/thread?messageID=1166540
    Hope this helps!

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

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

    Hi,
    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.

  • File name of xml form

    I have created a new xml form.
    For the name, I have used a label with property "displayname".
    When I save the form, in the KM I can view the file with the name that I assigned, but if I go with the mouse over the file I see in the button bar that the  original name is another.
    There is one methods to change this name ? or save the file with a fixed name ?

    Hi Loris,
    its not possible to save the XMLFormsItem with a fixed name. Every time you are creating a new item, there is a unique id generated which is used as "real" item name.
    This mechanism avoids conflicts with other items stored in that folder.
    Regards
    --Matthias

  • Change XML form name

    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,
    Nanie

    Hi,
    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

  • XML form field choice list to be populated by collaboration room names

    I would like to create a news form used within collaboration rooms where one field should include the name of the room where the news entry is created.
    Preferably this should be done automatically as works for date and author fields ($date, $sap_user), but could also be done manually if there is a way to populate the list with all available room names. If so, how do I get these to show up in the XML forms builder. There is a property 'Room' with sub-property 'Name' in the builder's property menu, but I can't see how to use this to get the room name displayed in the form.
    Henning

    Steve
    Thanks!  After working with the example you sent me, I was able to get it to work -- great!  However, this method seems to overwrite all the other XML in my xfa:data -- not great!
    For example, without the script, I have something like this in my form data variable after a form is completed and submitted:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:07:02Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <root>
    - <performanceReview>
    <badgeNumber>8107</badgeNumber>
    <associateName>NATHAN JANNASCH</associateName>
    <department>Information System</department>
    <section>IS - System Devlopment</section>
    <jobFamily>Professional Staff</jobFamily>
    <GLBadge />
    <groupLeader />
    </performanceReview>
    <FSTARGETURL_ />
    </root>
    </xfa:data>
    However, when I use the script as you described above and in your sample to load the data for the dropdown list, I get this in my form data variable:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:10:17Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <GroupLeaders>
    - <GroupLeader>
    <GLBadge type="varchar">8103</GLBadge>
    <GLName type="nvarchar">AARON MEISTER</GLName>
    </GroupLeader>
    - <GroupLeader>
    <GLBadge type="varchar">5221</GLBadge>
    <GLName type="nvarchar">AB EDMONDS</GLName>
    </GroupLeader>
    </GroupLeaders>
    </xfa:data>
    It looks like the data the script loads is overwriting all of my other xfa:data.  This is quite bad, as my process is dependent upon this data.  Is there a way to append the dropdownlist data to the xfa:data, or perhaps load it into another node, rather than overwriting the existing xfa:data elements?
    Thanks!
    Toby

  • Show user´s name and lastname using XML Form Builder

    Hello
    I created a XML project with XML Form Builder and i have to show user´s name an lastname in RenderListItem form.Can anybody help me,please? Thanks

    Hi Unai,
    check out the description by Patricio in this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=78716&messageID=1616027
    Hope this helps,
    Robert

  • Property not loaded in XML form builder

    Hi,
    I am trying to create a new application in XML form builder. I have created few custom properties in KM. I want to use those properties to map to the field in XML application. But i see that under teh data model, I am not able to see any properties from KM. When i click reload properties nothing gets loaded. Also when i right click on DataSchema, menu doesnt appear. What could be the problem?
    Regards,
    P188071

    Hi!
    You probably have to create a property group and a property structure in the Property Structure Service of km configuration first.
    See here for more details:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=944815&messageID=5712759#5712759
    Pretty much the same requirements you have.
    Cheers,
      Jürgen

  • XML Forms - Data model - writing to XML or Doc property

    Hi,
    Can someone please explain how user data inputted into an XML Form is stored?  I understand how it is stored in XML format, but am a little lost with SDN help doco, below:
    "Data Model
    The data model is a structured description of the data that is stored in XML forms. The data that you enter in forms is written in either an XML file or in properties of documents. A combination of the two is also possible."
    (link: http://help.sap.com/saphelp_nw04/helpdata/en/8f/fe743c74fa6449e10000000a11402f/frameset.htm)
    What does "properties of documents" refer to?  Is this an existing document? A new KM resource (not of type XML)? Or is this document property of the XML file being created?
    Also, does ALL user input from a form need to be stored as XML files, rather than an XML file or some other resource type?
    Many thanks,
    Justin

    Hello Justin!
    >
    Justin Hume wrote:
    > What does "properties of documents" refer to?  Is this an existing document? A new KM resource (not of type XML)? Or is this document property of the XML file being created?
    >
    Look at this you wrote  "The data that you enter in forms" - writing in "properties of documents"  - it means that you can do some changes with KM files from XML forms, or you can administrate (approve doc. and so on).. So all property will be change in KM doc - wich you customize from XML form
    >
    Justin Hume wrote:
    > Also, does ALL user input from a form need to be stored as XML files, rather than an XML file or some other resource type?
    >
    Only XML (if use XML Form Builder)

Maybe you are looking for