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>

Similar Messages

  • Metadata Properties and XML Form

    Hello,
    I have two metadata properties, Country and City, City is a dependent properties, when I select a Country the City change according to the value of Country. I put  in the XML form two combo box associated with Country and City properties, the Country is filling correctly, but the City is filled with numbers instead of the name of the City, and it don’t change according to the Country. If I see the properties in the details of the Xml Forms this two properties work fine. What is wrong? It is possible to include a dependent property in a XML Form or there is another way to do that?
    Thanks in advance for your help
    Maria Teresa

    Hello,
    Thanks for your help, but I read this document and I create the properties Country and City, they work fine if I check this in the Details of a document, but when I put this two properties in the XML Form, the Country property works fine, but the City property isn't filled with the valued I configured. What is wrong, how can I put a dependent property in a XML Form?
    Thanks
    Maria Teresa

  • 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

  • TWO objects of XML FORM

    I have two questions
    1- I would like to get the Form in the XML format. I have regular submit button BUT when I distributed the form, I got it in PDF format.
    I tried to put a regular button then I put mailto: someone@somewhare then I picked the send format as XML. But when I distribute the form, it is coming as PDF as default.
    Also, I tried from FORM PROPERTIES, then Advance -> selected the PDF Compatibilities then out put I put it XML, and I saved, BUT its go back to the default which is PDF.
    2- When I designed a PDF FORM, it would take one XML object for the PDF. Is there way to include two or more of XML object with in one form?
    Any help will be appreciated

    Hi Shankar, thanks very much for your assistance!
    Those links have solved my problem.
    To summarise for anyone else who is attempting to do the same:
    1. Create a custom property
    2. Include the customer property in your XML form
    3. Create/Edit a resource renderer, and set the Property for Sorting to the property that you created in (1). Note that this has to be preceded by the namespace in the format <namespace>:<propertyID>
    4. Include this resource renderer in a layout set
    5. Set your iview to use the layout set.
    Hopefully I haven't missed out any important steps here!
    Thanks again for your help!
    Regards
    Richard

  • Metadata for XML

    Hi,
    I need little help, where do I create metadata for XML forms? Can I access them from form builder (EP7)?
    Thanks a lot,
    Jai
    Message was edited by: Jai Paul

    Hi,
       You should read about:
    Advanced concepts in Metadata properties in km.pdf you can find in:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/de31ec90-0201-0010-be95-f501d25027a8
    How to create xml form.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    Properties of XML Documents
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/9d1f39a27d0e4f8a69c891dc4a4a05/frameset.htm
    Predefined Properties
    http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/9a4a3b80f2ec40aa7456bc87a94259/frameset.htm
    Repository Services
    http://help.sap.com/saphelp_nw2004s/helpdata/en/69/d96b86a84611d5993600508b6b8b11/frameset.htm
    Patricio.

  • 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

  • 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

  • Multiselect  metadata propert in xml form

    Hi,
    I have created an xml form to create news items for our company. I would like to add a custom metadata property that i have created that is multiselect.
    Eg 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

    Thanks for responding
    sls_region is a multi value  property with values ALL , America, Europe.
    My current code which is working fine is like …whatever I select in my filter (a sender iview, custom developed component with multi value properties sls_region appearing as dropdown) get passed to receiver iview (basic search iview with a modified epcf receiver as collection renderer).
    Receiver iview is used for both uploading news and searching news. To upload news I am using xml form. I have modified edit xsl of form ….by adding code as mentioned above in my thread in detail
    So if in filter if I select America as region …..Uploaded news will have sls_region property set to America.
    If All is selected uploaded news has sls_region set to All.
    Code mentioned in my thread is working fine but now I need to modify it like ….
    If I Select All in filter...Uploaded news should be set with all allowed values of  sls_region property i.e.  All, America, Europe.
    To make it more clear if you look at my code above I want to add logic like
    if (test="$ext_mars:sls_region=' '")
    <xsl:attribute name="value" /> </xsl:attribute>
    Else {
    If (test="$ext_mars:sls_region = ‘All’)
    Value of select = “All” and “America” and “Europe” means news  get uploaded with            available values of  sls_region
    Else
    <xsl:value-of select="$ext_mars:sls_region"/></xsl:attribute> only with what is selected in filter either America or Europe.
    I want to set all allowed values of property sls_region in case when ‘”All” is selected in filter.
    Hope this will help you to have a clear understanding of my problem.

  • 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

  • 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

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

  • 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

  • Properties metadata with dependecies in XML Forms

    Hello!
    I've created two properties metadata with dependencies, like product and subproduct, so these two properties are related to each other.
    I tried to add these properties to a XML Forms, but when I add the product, the list is empty, doesn't show any of the predefined values. What can it be ?
    And how do I add these two properties related in the XML Forms ? Do I need to do any other configuration to the properties ??
    Thanks
    Luisa

    Hi Luisa,
    unfortunately, this feature is not supported by XMLForms --> sorry
    Regards
    --Matthias

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

Maybe you are looking for

  • Creation of tables at runtime

    Hi, In our project, requirement is such that, customer can create a form definition from UI. He can define all columns for the form, it's datatype, constraints etc. Based on that information, then they can do data entry in that form. So, until runtim

  • Quicktime doesn't switch to external audio

    Hey guys, The problem I have is with QuicktimeX on ML is it not sending any audio to my external soundcard and my external speakers. If I turn my soundcard ON then iTunes, Safari, etc. will all play audio to my external speakers (switching over prope

  • Freeing up HD problems

    I am freeing up space on my HD on my iMac, and as I delete folders instead of getting more free space the other catagory is taking it.

  • ALV  SUBTOTALS TEXTS: how can we use 'slis_subtot_text' structure

    hi in SLIS type pool there is a structure <b>slis_subtot_text</b> i think this for custom subtotal texts other that standard but how do we use it where is this structure to be given as parameter

  • ORA-01034 : Error when the DB Server changed domains

    I've just moved our Primary DB Server(Win2000 AS/ Oracle 8.1.7) from domain "V" to a new domain("X") I build for our developers. It is still the same user("V" domain administrator) logging in but now when people try to connect they get a ORA-01034 er