Display Values of predefined properties in XML Forms

In EP60 SP11 we have created several XML Forms with XFBuilder. In these forms several metadata properties are used which have predefined values available via a metadata extension. Everything works fine, except for the display of the predefined values. The "Show" and "List" forms of the XF Project display the value keys in stead of the value labels. For example, the value key "countries_EN" is displayed in stead of "United Kingdom". This problem also seems to be eminent when using static combo boxes. How can we proceed in order to have the value labels displayed in stead of the value keys??
Thx Caspar

Hi,
You might have to use the control selector and add a condition...
ie. if the condition is "countires_EN" then the caption will be "United Kingdom"
Cheers,
Vic

Similar Messages

  • Multi-Valued Properties in XML Forms

    Hello,
    Can anyone tell me how to select multiple values for multi-valued properties in an XML Forms. It seems that the combo box only allows you to select one value.
    Thanks,
    Chris.

    Hi Chris,
    nice to hear, that you're implementing my way of solving this multi value issue. And much nicer to hear, that it seems to work for you, too!
    You can not write back your multi value properties from XML form. Thats for sure. You can think of:
    1. Synchronize the value of your text field property with the value of the multi value propery whenever you store the document. This could be done using the event "property set".
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d0ab890-0201-0010-849d-98d70bd1d5f0">See: KM Events</a>
    2. Overwrite the content of your multi value property at runtime, depending on the value of the single value property which holds the csv. Do this by using a Repository Filter. <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ee3a57-0701-0010-3e9a-ddae7e4e0521">See: RepositoryFilter</a>
    3. Forget about the multi value property and make the text field property indexable. This should work, too.
    All three options should work!
    HTH,
    Carsten

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • Dependant properties in XML Forms

    Hi all,
    I have a set of dependant properties, simillar to the Country / Cities example in the sap guides, and i understand how i can add this to the properties of a file, but how would i go about presenting these properties through the edit screen of an XML Form so that the cities properties display when a country is selected?
    Thanks

    Hi Richard,
    I would suppose that the property renderer which renders your dependant property takes care of this.
    The property renderer for the country property would have to make sure that when a country is selected the city property values are changed accordingly. The easiest would be to just do a server roundtrip with the new country value. The renderer for the city property would check the value of the country property and display the appropriate values accordingly.
    There is a renderer in the standard for dependant properties. Maybe that one will work for you as well. It is:
    Name: multi_dependence
    Codelink: com.sapportals.wcm.control.util.PropertyRendererMultiDependence
    Hope this helps,
    Esther

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

  • 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

  • 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

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

  • Properties in XML Forms label

    Hi
    I'm working with the XML Forms builder, and I'm trying
    to add properties as name, mail, and so on to labels
    in the edit form. So that the user doesn't have to fill
    this in, in a registration form.
    But I don't have any success in getting it to work.
    There’s nothing displayed in the labels.
    Is this possible?
    And if, does someone have any suggestions on how to get
    it to work?
    Another way to get the user information could be a link
    to the users card, but how should that be done?
    Thanks in advance for any help or suggestions.
    Regards
    Mikael L

    Hi Mikael,
    see Accessing creator information of form for details.
    In addition, see http://help.sap.com/saphelp_nw04/helpdata/en/fe/2a2c407586ea01e10000000a155106/frameset.htm
    Hope it helps
    Detlev

  • Mulitvalue Properties in XML Forms via Checkboxes

    Hello All,
    I hope someone can help me with the following issue:
    I want to create a XML form whicht contains a custom cm-property called "<b>plant</b>" the property is a multivalue property and contains the possible entries <b>plant1,plant2,plant3,plant4</b>
    now I want to use the property for the EditForm via checkboxes, so that the editor of the form can set muliple entries for the property plant.
    the reason for that is, that some xml docements should contain e.x. plant1, plant2 others should contain plant1, plant3, plant4 or plant2, plant4.
    In the XML Formsbuilder I always get the message that I can't use the Control Checkbox because the property "plant" contains predefined values and I should use the control Combobox - but the combobox is not enought for my form, because it only alows one value of the property! I need a multivalued property because I want to create a search option set, whith which I can search for xml documents with the property value plant1, plant2 etc.
    Does anybody know how to handle this issue? (Answers will be rewarded!!)
    Regards
    Andreas

    Hi Andreas
    Here's two very interesting threads on this subject. I havent tried the suggestions out, so now you are on your own
    https://forums.sdn.sap.com/click.jspa?searchID=3579091&messageID=2591706
    https://forums.sdn.sap.com/click.jspa?searchID=3579119&messageID=3305300
    Kind regards,
    Martin

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

    Hi Bala
    Check this XML FORMS - Date Format.
    Its a quite easy way.
    Regards
    BP

  • Dependent properties in XML Forms

    I followed this article
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/de31ec90-0201-0010-be95-f501d25027a8 ]
    and I tried to apply the example of dependent properties in a XML form.
    It didn't work.  The dependent property doesnt't refresh as it does in a Details dialog box. Does anyone know how to do it in the Edit Form?
    Are dependent properties supported by XML Forms?
    Thanks in advance.

    Hi Gabriela,
    unfortunately, this functionality is not supported in the XML Forms (out of the box), in the current version.
    Best regards,
    Robert

  • Dynamic properties working in "normal KM" but not in XML forms

    Hi all,
    (EP 6.0 SP13)
    I've implemented a Metadata Extension that returns a list of properties. The list is dynamically generated based on the folder the document is located in. I've tested the Metada Extension on both existing documents and new documents and it works fine in "normal" KM scenarios ( Word documents, file uploads, etc.).
    The problem arises when I want to use these Dynamic properties in XML forms. I've added my property to a combox  in the XML Forms project. When accessing the Metadata Extension from XML forms the resource path is always null. Since all my business logic is based on knowing where in the KM structure the document is, I have a small problem...
    If I go to Details->Properties on the xml forms document and accesses my property there, the path is correct..
    To get the resource path I use these two methods:
    folder = metaContext.getResourcePath();
    (for newly created documents)
    folder = metaContext.getResource().getParentCollection().getRID().getPath();
    (for existing documents)
    these are null when calling my Metadata Extension from a XML Form.
    Any ideas?
    Vegard

    Hi Vegard,
    Could you post the code that loads/create the property objects dynamically?
    Maybe you can post it at this forum Dynamic properties working in "normal KM" but not in XML forms
    so I can award you some points.
    Thanks in advanced,
    André

  • Multivalue checkbox in single field of datascheme of XML form

    Hello everyone,
    is there a way to provide the user a chance to select multiple values via checkboxes in an XML-form and write the values in a single field of the datascheme?
    Currently only the first of the selected values ends up in the proper field, although several checkboxex are attached/connected.
    Any ideas?
    THX-Henning

    I found another alternative solution.
    Regarding to how to display the multivalue properties with the multi-valu check box in "Details":
    1) Go to CM -> Global Services -> Property Metadata -> Properties
    2) Go to the property that you want to display multivalue, for my case- "NewsType", set the "Property Renderer" parameter to "allowedvale_multivalued" (for sure you have to define the allowed values)
    3) Go and check in "Details", it should show the multi-value property in check box group. Then you can "tick" and "untick" to change the values.
    Kent

  • Flash files as images in XML Forms

    Hi Crew,
    Anyone had to use flash files in XML forms Based Publishing?
    Have created a simple XML Project asking the user to select two images, and these are then displayed in an iView.
    gifs & jpegs display no problemo.   swf (flash files) do not.
    Any ideas?
    Paul

    Hi Paul,
    I need to display a .swf file in a XML form. I read the solution that you have posted about modifying the XSL file, but i have no clue how to go ahead with this.
    Could you kindly provide any document, link or the solution as to how to modify the XSL file ?
    Any kind of help would be truly appreciated.

Maybe you are looking for

  • Focus issues between Applets on a web page

    I have a web page that contains two applets(A1 and A2) each containing a JTable with editable cells. If I click on an editable cell in the table in applet A1 so this I can change it and I then click on an editable cell in the table in applet A2, I no

  • App Store re-download?

    Hi, when I upgraded to Snow Leopard I didn't think I'd ever need the "App Store" application, so I deleted it. Now I want to upgrade to Lion, and it seems the only way to do so is to purchase it via the "App Store" program. Is it possible for me to r

  • Equity Pick Up Module in HFM 11.1.1

    Hi All, I am trying to use equity pick up module in Oracle Hyperion Fusion Edition but i require help in writing a rule file for the same. Can anybody give an example of the equity pick up module of rule file? regards

  • Change a Request from Local to Transportable

    Hi I need (once again) a help. I have a Local Request (Workbench Organizer) but I need to change it to Transportable... How can I do? Thanks in advance!!! Regards, Tokio

  • Preserve background layer when cropping (script)

    I understand that if you choose "Delete Cropped Pixels" in the crop tool, that it will preserve the background layer, as a background layer.  However, I wished that I could still maintain this function when cropping without the delete cropped pixels