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

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

  • 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

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

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

  • XML form and metadata property of a resource

    Hi,
    Is there any way to set custom metadata property of KM resource by entering it into input field of XML form?
    Can we relate property of a KM resource to the field created in XML form?

    Hi Deepti,
    check out the last reply in this <a href="https://forums.sdn.sap.com/thread.jspa?threadID=9449">thread</a>. It tells you how to work with predefined property meta data in the XML forms builder.
    Hope this answers your question,
    Robert

  • Custom property values does not show in XML forms!

    Hi All
    I have created a property in the portal which has multiple values, I have added these values in the 'Allowed Values' section. Then in my XML form I reference this property in a combo box. I have restarted the j2EE engine and opened the form and the properties are not displayed in the combo box it is blank!
    Does anyone know why?
    Thanks in advance!

    Thanks anyways...

  • Property MetaData in XML Forms

    We are currently using EP 5 SP 5 with CM SP5 Patch 3 Hotfix 11.  I have create a new XML Forms project using the Forms Builder.  I would like to be able to view/edit metadata properties through the XML forms. I have read about the PropertyEdit and PropertyView XSL for rendering properties in the KM section of the Help documents, but find the information lacking on how to get started. Does anyone have information on how to do this?

    You need to implement Resource List Filter. this manual should help you:
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/31fa0d2d-0401-0010-efa3-af7a8647c3bc?prtmode=navigate">Implementing Resource List Filters for Flexible UI Navigation</a>

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

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

  • 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

  • XML FORM  -  How to save read-only controls with a default value

    Hello everybody,
    I have a 3 xml forms, each one to create one type of news. I need to use 3 because each of this forms has their own controls. But the control which indicates the type of news (asociated with a KM Predefined Property) must be common in the 3 forms, in order to use it on searches.
    The question is, how can I include in this forms a control:
      - Visible for the user
      - With a default value defined in the control properties (each form has a different value, corresponding with the type of news)
      - Read-only mode
      - The value showed in the control must be saved in the associated KM Predefined Property when the user clicks the Save button. 
    Anyone knows how to do this?
    What control can I use?
    I was thinking of trying with text boxes, but I don't find the way to make them unwritable (Read only mode).
    It is posible using labels?
    Thanks.
    Kind regards

    Hello Jose,
    I know you responded with a question... I see it in the email, but I don't see it here!  Very odd... but in response:
    The first thing I do when I open the Edit.xsl file is do a 'find' for the name of the text field that I want to be read-only (in my test case, it's 'location').  Repeat the find until you see something like:
    [code]<!--
    field location
    -->[/code]
    Below there is where I put the new code.  Mine looks like this:
    [code]- <xsl:choose>
    - <xsl:when test="location='' and ($editmode='create')">
    - <xsl:choose>
    - <xsl:when test="./xf:ValidationError/@tagname='location'">
    - <input name="location" size="30" type="text" class="urEdfiTxtEnbl" id="field_1157467268006">
    - <xsl:attribute name="tabindex">
    - <xsl:choose>
      <xsl:when test="$accessibilitymode='true'">21</xsl:when>
      <xsl:otherwise>3792</xsl:otherwise>
      </xsl:choose>
      </xsl:attribute>
    - <xsl:attribute name="value">
      <xsl:value-of select="''" />
      </xsl:attribute>
    - <xsl:attribute name="readonly">true</xsl:attribute>
      </input>
      </xsl:when>
    - <xsl:otherwise>
    - <input name="location" size="30" type="text" tabindex="3792" class="urEdfTxtEnbl" id="field_1157467268006">
    - <xsl:attribute name="value">
      <xsl:value-of select="''" />
      </xsl:attribute>
    - <xsl:attribute name="readonly">true</xsl:attribute>
      </input>
      </xsl:otherwise>
      </xsl:choose>[/code]
    I put the <xsl:attribute name="readonly"> in both places (when test, and when not test).  I'm not entirely sure if that's necessary, but that worked for me.
    Hope this helps,
    Fallon

  • Filter Predefined Properies, Feedback Search, XML Forms Show form issues

    Hi all,
    I have created XML forms with XML builder and I have some questions.
    1. When filtering by predefined properties I want to filter by two properties, which are the same. For example, if there is a publication with two authors and author is the predefined property, in the first field I write the name of the first author, in the second field I write the name of the second author, the result is all publications, which are by both authors and all publication, which are either by the one, or by the other.
    I don't have this problem when I filter by two different predefined properties. For example the author and the year. Than the result is all publication, which are by the author AND published in the requested year.
    How can I set this option to be able to filter by two same predefined properties and the relation between both properties to be AND?(only publications by both author)
    2. In the Show form I have created link to the feedback, using XML Forms BUilder, but I need to write first the feedback to be able to see already existing feedbacks,
    if there are any. In the ResourceRendering Form I have created link to the feedback by LayoutSet, where I can see first, if there are already existed feedbacks.
    If there is any possibility to set a LayoutSet for the Show Form or any other way in the Show form to display first the existing feedbacks and than to be able to write a new.
    And something else reffering to the Show form, is it possible to rate the item from Show form or at least to have link to the rating, not a link to the Details.
    I have tried to create a link to the /Properties/col:rating, but it doesn't work. The link dispays the value, if it has been already rated.
    3. Is it possible to search for any information in the feedbacks(to make the feedback searchable)?
    Thanks in advance for any help.
    Best regards,
    Zlatina

    Hi Zlatin,
    -> 1
    By Default identic properties queries are connected by an 'OR'.
    Please have a look into the documentation for further info.
    http://help.sap.com/saphelp_nw04/helpdata/en/85/80b3d4c9ef11d5993e00508b6b8b11/frameset.htm
    -> Search Options
    So far it's not possible to connect two identic proerties by an 'AND' within the standard.
    You can preset a search filter via the relevant Search Option Set.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/765140c770cd01e10000000a155106/frameset.htm
    Regards Matthias Röbig-Landau

Maybe you are looking for

  • [CR integrated in VS 2005] - sum of string fields

    Hello, i am discovering CR, and i am trying to do the sum of a field (number) but declared as string. the declaration of the field cannot be changed (string in the database). so i want to do the sum of this field. i wonder if it is possible, and if y

  • My ipod touch is disable and it says connect to itunes i did so what to do now

    i dont know wht to do canyall please help me

  • Adobe acrobat xi pro crashes on startup

    i was running the trial of xi pro and i used a cracked dll to avoid having to pay when i downloaded an update it made my trial expire... after trying to uninstall/reinstall serval times to no avail, i ponied up and bought a yr subscription for $254 o

  • Problem with usb recovery media

    Hello all, I own a Lenovo L412. A disc test complained that my HDD is about to die, so I decided to upgrade to an SSD. I bought an SSD, an 16gb USB flash stick and an external disk enclosure. The plan was to get the OS from my R&R to the USB flash st

  • Recomended solution for a notebook problem (Nascar Racing 20

    On my laptop, Dell Inspiron 600m, I have the Sigma Tel AC 97 Integrated sound card. I am running windows XP professional SP2. I have one application, Nascar Racing 2003 Season, which does not support the internal sound card. You only hear a buzzing n