on ‎2008 Jul 02 9:19 AM
Hi,
I have an XML form builder application in which I build my News Application. It has few fields e.g., Title, Courtesy. Once the values are entered for these fields in the creator part, I want these values to be stored as a custom property of the XML application generated in the KM. How to achieve this? I have to use property reference in the application to achieve this. can someone brief on how to exactly implement this?
Regards,
Ganesh N
Request clarification before answering.
Hi Ganesh!
To use custom properties in your XML forms take the following steps:
1. Create your custom property in KM configuration global services (own namespace)
2. The namespace and the property should now be visible in the XML forms builder
3. Use it by dragging it to your input field
The value entered into the input field is automaticly stored to the custom property of the XML document created by the form.
Regards,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganesh!
1. To have it under custom properties it should have your own namespace and probably your own property group. Not quite sure about that
2. Properties may have a list of allowed values (comma seperated list). If you enter those, assigning the property to a drop down list should be possible (bit of guessing here). For checkbox groups the property may have to be multi valued too.
Cheers,
Jürgen
Hi
i would like to add some more pointe to what jürgen said:
1. Will these property doesnt come under custom property of the xml file as it is appearing under miscellaneous?
u need to have ur created property assigned to your own namespace and not to default namespce.
2. How can I map the same for drop down and radio button fields?
once u created the properties then group it using property group under property structure service and in the property group u can find the parameter single focus if u select that then it will shown in tabs.
then assign this property group structure to default property structure or all_groups deponds upon ur requirement
regards,
Vijay.
Hi Juergen & Vijay,
Thanks for your prompt replies!
I created a new namespace XXX and assigned the property to this namespace (namespace alias) - This namespace is reflecting in XML form builder as well but still I am getting the property under miscellaneous tab.
Can you explain the answer to the 2nd question in detail?
Regards,
Ganesh N
Hi Juergen,
I am talking about the miscellaneous tab in the KM properties. I created a namespace and group and assigned it to the property that i have created. But still I see that the property appears under the miscellaneous tab and not under custom properties tab in KM. Kindly advice!
Regards,
Ganesh N
Hi Ganesh!
Vijay already posted a solution to that:
2. How can I map the same for drop down and radio button fields?
once u created the properties then group it using property group under property structure service and in the property group u can find the parameter single focus if u select that then it will shown in tabs.
then assign this property group structure to default property structure or all_groups deponds upon ur requirement
The Property Structure Service is responsible for displaying properties in the standard details dialogue of the KM.
A Property group in the Structure Service is a set of Properties. It's much like the Property Group in the Property Metadata Service, but they're distinct.
A Property structure defines the tab.
So as Vijay said: Create a Property Group and put all of your custom properties in it. Then create a Property Structure which uses this property group as a structure item.
If you want to have multilanguage descriptions on properties, property groups and property structures, you have to define a meta_ext resouce in Global Services->Property Metadata, which points to language property files. You then provide your new configuration objects with the keys from those files.
If you need more details, let me know.
Cheers,
Jürgen
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.