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
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 dont 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 TeresaHello,
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,
MadhvikaThanks 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. -
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 itHi
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 -
XML Form Builder Date validation
Hi,
I have an news application to be developed in XML Form Builder. I am creating News Author part of it. It has an Date field where i have to do an validation like the user cannot enter date less than the current date. I can perform simple data type validation through the form builder. Can I perform the above said validation in XML form builder or is there an work around in getting this done.
Thanks in advance....
Regards,
Ganesh
Edited by: Ganesh Natarajan on Jun 22, 2008 3:03 PMI guess XML Forms builder is not able to do this. You will need to create your own predefined properties for the dates and develop a metadata extension to check that the date is the correct range.
-
XML Forms Builder - problem with checkbox
Hi,
I have created many checkboxes in XML Forms Builder and if I want to create a new document based on this "Form" I have still checked one of checkboxes. I would like to have all empty checkboxes becasue user should check the appropriate checkboxes.
Do you know how to resolve this problem?
Thaks for help!
Regards,
Andrzej TabaraHi,
is it always the same checkbox that is already filled in? Is this ckeckbox based on a metadata-definition?
If yes: You could maybe have a look at the metadata-definition. Is there maybe a default-value defined?
Kind reagrds
Karin -
Behavior of XML Form Builder after SP 13 upgrade
Dear Experts,
We are working on E.P 7.0 SP 10 and we've recently applied SP 13 and started testing the system.
What we found on XML Form Builder is, we are unable to add schema (under Data Model) to the project.
Can some one help us where exactly went wrong.
Best Regards,
SatyadevHi,
i think, i have faced the same problem recently.
I had the problem that i saw the 3 categorys: namespace,data schema and properties.
But i couldn't open them by clicking on them. This is also your problem?
What i did with lots of hours of testing.
1.Once you have managed to add something to the data schema you are fine. Then it will always be opened. ( Try opening an existing project and you will see that.)
So you could open an old project and modify this.
2. It is still possible to open the Data Schema. I don't know where to click exactly but i click like 100s of times on the symbol of Data Schema and with a little bit of luck it opens. If it doesn't work, i restart the Forms Builder and i try again.
Regards,
Marcus -
XML Form Builder -no DataModel element in Dataschema
Dear All,
I am trying to implement XML Form, created sample project.
Issue here is, no Data Model element present under DataSchema once project created.
Steps follwed:
1.Login with Portal administrator credentails(has Content Management role)
2.Started XML Forms bulder
3.Open the project options
4.Entered project details(Name and ID) and saved
5.Opened Options-> Forms.
6.In HTML Markup, from the dropdown list choosen ' Strip All Tags' -> OK
Now in DataModel pane, there is Namespaces, DataSchema and Properties.
I tried to click on DataSchema, it has no any Data Model childe/root element.
Please suggest me.Hi, Kris@EP.
Recommended JRE on client side for XML Forms Builder is 1.4.* or 1.5.*
Be sure that you got JRE version is lower than 1.6
If you have JRE 1.6.* implement [SAP Note 1341069|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_km/~form/handler%7B5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333431303639%7D]
Regards, Mikhail. -
XML Form Builder does not load
I am having the following problem, when executing the Form Builder tool under Content Management, it does not load and i get the following error message:
CONNECTION ERROR: couldn't read response code*
And sometimes the window gets freezed.
I have read some previous Threads regarding this issue but the solution did not work to me.
Someting really strange is happening because if i log to port 80 (http://...) it works, but when I log to port 50000 (https://...) it does not, and that error message pops up.
I have alredy run the Enviroment check Tool and results were OK in both urls, as follows:
<i><b>https://*****.net/irj/portal
Test Environment: XML Forms Builder Environment Check *
Start Time: 2006-12-05 13:12:48 *
End Time: 2006-12-05 13:12:04 *
- Test: Java Environment
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:48
- Java Runtime Version is 1.4.2_13
- Test: Connection Tests
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:04
- Test: Download XML Forms Builder Jar
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:13
- Successfully loaded XML Forms Builder Jar from https://***net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
- Test: Download SAP XML Toolkit Jar
- OK
- Start Time: 2006-12-05 13:12:13
- End Time: 2006-12-05 13:12:47
- Successfully loaded SAP XML Toolkit Jar from https://****/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
- Test: XML Forms Builder Version
- OK
- Start Time: 2006-12-05 13:12:47
- End Time: 2006-12-05 13:12:48
- XML Forms Builder client version is 6.4.1, server version is 6.4.1
- Test: Load Global Settings
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:48
- Successfully loaded XML Forms Builder settings
- Test: Load Project List
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:03
- Successfully loaded project list:
http://*******.net/irj/portal
Test Environment: XML Forms Builder Environment Check *
Start Time: 2006-12-05 14:12:33 *
End Time: 2006-12-05 14:12:46 *
- Test: Java Environment
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:33
- Java Runtime Version is 1.4.2_13
- Test: Connection Tests
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:46
- Test: Download XML Forms Builder Jar
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:23
- Successfully loaded XML Forms Builder Jar from http://****.net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
- Test: Download SAP XML Toolkit Jar
- OK
- Start Time: 2006-12-05 14:12:23
- End Time: 2006-12-05 14:12:27
- Successfully loaded SAP XML Toolkit Jar from http://*******.net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
- Test: XML Forms Builder Version
- OK
- Start Time: 2006-12-05 14:12:27
- End Time: 2006-12-05 14:12:28
- XML Forms Builder client version is 6.4.1, server version is 6.4.1
- Test: Load Global Settings
- OK
- Start Time: 2006-12-05 14:12:28
- End Time: 2006-12-05 14:12:29
- Successfully loaded XML Forms Builder settings
- Test: Load Project List
- OK
- Start Time: 2006-12-05 14:12:29
- End Time: 2006-12-05 14:12:46
- Successfully loaded project list:
</b></i>
Don't know what can be, so if anyone has any idea it would be very helpful.
Cheers,
Ivan MilkovicHello,
Immediately after opening the XML forms editor from the Content Manager page, you will get a link Start Environment Check Tool.... Click on that and proceed for a check. It will take some 5-10 mins based on your connection speed.If every thing is successful, clear the browser cache and restart the browser and open forms editor again. It will open the data schema and properties filed and project browser and all.
I was having this problem just now and i resolved it with the above steps.
My JRE version is 1.6 and portal is EP 7 SPS 21 patched.
Regards
BP -
Xml form builder- DataSchema not expanding
Hi Experts,
I am facing a strange issue in XML form builder.
When i am trying to expand DataSchema root node by clicking on the + sysmbol. It is not expanding.
Is there any particular setting or what for this. I have tried this many time but unable to expand data Scheme and not able to create any nodes under DataSchema.
Please help me in resolving this issue.Hello,
Immediately after opening the XML forms editor from the Content Manager page, you will get a link Start Environment Check Tool.... Click on that and proceed for a check. It will take some 5-10 mins based on your connection speed.If every thing is successful, clear the browser cache and restart the browser and open forms editor again. It will open the data schema and properties filed and project browser and all.
I was having this problem just now and i resolved it with the above steps.
My JRE version is 1.6 and portal is EP 7 SPS 21 patched.
Regards
BP -
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,
P188071Hi!
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 -
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.
Theres 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 LHi 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 -
XML Forms Builder complete Documentation and more
Hi,
I have several questions to the XML-Forms-Builder (XML-FB):
1)
I am searching for a really complete documentation of the XML-FB. I know the "how to create xml forms - PDF", the "help.sap.com", this forum,...., but i don't find one complete documentation. For example i miss the description of really all controls AND whose properties.
2)
Can I await any changing/enhancement between NW 2004 SP16 (my active Release) and NW 2004s SPx - with focus to the XML-FB?
3)
Is it possible to create forms witch allows <u>the author</u> to choose the placement of controls - for example images in the left, right, middle of the page - maybe via select/assign the corresponding form (-> maybe via using control-selector)? This means more individual flexibility for the author.
I am searching for a solution without programming a proprietary solution, only customizing !
okay, that's all, up to now
Thanks for your patience
HermannHi Herrmann,
1.) There is no. Some features have been added more or less silently within the last year, but a central doc hasn't been published.
2.) All I know is: Not much. Maybe the Forms Builder developer at SAP reads this and could throw a somewhat more detailed answer.
3.) We have developed this as a small part of easyWCM; when creating the XML form, you can define not only 1 ShowForm, but different; the author then can choose which form to use. We provide such pre-defined forms within the BP.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
In XML form builder data schema not clickable
Hi ,
I have installed JRE version 1.6.0_07. When i click on xml foms builder ,it gets opened but when i click on data schema it's not clickable but icon is displayed next to data schema.I am not able to create any node in data schema.
Regards.
Adity.Hi,
my problem is simular to Aditys: My Java Version is JRE 1.6.0_15. When I go to Content Managment --> Formbuilder, the XML Forms Builder starts automatically but it is not possible to open Data Schema. After downgrade to Java 1.4 I can not start the Form Builder, that means, after clicking on "Form Builder" in the Portal, a pop-up opens, but the XML Form Builder does not load.
Can you help me?
Jannis -
How to make use of the XFList in the Function Bar of the XML Form Builder?
Hello:
Now I am creating blog using the XML Form Builder.
In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
lexian
Thanks a lot!In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
The first text box under Groups attribute corresponds to SCREEN-GROUP1,
2nd text box for SCREEN-GROUP2
3rd text box for SCREEN-GROUP3
4th text box for SCREEN-GROUP4
Hope this helps.
Thanks,
Balaji
Maybe you are looking for
-
Issue with Asset Retirement without Revenue (ABAVN)
Hi Experts, hope that you are able to help shed some light on an issue with retirement without revenue (Scrapping). We have an asset capitalised in FY 2007 with two depreciation areas 01 - Book & 15 Tax. There have then been settlements made to the a
-
Mount point in /volumes won't delete when unmounting
I have latest Mavericks on my rMBP (10.9.4). The issue I'm having has been going on for a while now. Basically when I unmount my external RAID array upon sleep with Jettison (or without it) the mount point in /Volumes folder doesn't get deleted promp
-
HELP!!! Can't open iTunes...driving me crazy!
Hi...I have been trying for the last few days to open iTunes. I have the latest version of it and Quicktime too...it just won't open. Tried the suggestions in help section, but nothing works. I don't have access to my music for my Shuffle....please h
-
Startup Issue - Blinking Earth
When I boot up, I get a blinking earth icon for a minute or so before the usual boot up cycle begins. I have checked that the proper start-up disk is selected in the preferences: "You have selected MAC OSX, 10.5.8 on the volume MacBook. I have done a
-
im just wondering if the person im texting using imessage actually received my message when it says delivered..doesnt mean they read it but does it mean it applies the fact they can c the msg alrd like their ipod touch has received the msg and can b