cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XML form Builder

Former Member
0 Likes
519

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

View Entire Topic
Former Member
0 Likes

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

Former Member
0 Likes

Hi Juergen,

Excellent! Thanks for your reply!!!

That works....

Couple of questions

1. Will these property doesnt come under custom property of the xml file as it is appearing under miscellaneous?

2. How can I map the same for drop down and radio button fields?

Thanks once again

Regards,

Ganesh N

Former Member
0 Likes

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

Former Member
0 Likes

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.

Former Member
0 Likes

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

Former Member
0 Likes

Hi

step 1 : new namespace creation

step 2 : new group creation

step 3: assign this created group and namespace to the property.

i think u didnot created a new group, while creating property u would had assigned a already created group.

regards,

Vijay.

Former Member
0 Likes

Hi Ganesh!

Are you talking about the miscellaneaus tab of the standard details dialog in KM or about the XML Forms builder?

Cheers,

Jürgen

Former Member
0 Likes

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

Former Member
0 Likes

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