cancel
Showing results for 
Search instead for 
Did you mean: 

XML content editing

huijzer
Champ in-the-making
Champ in-the-making
Hi all,

I am very impressed by the new XML content editing possibilities in Alfresco WCM. However, I cannot find any documentation on how this process works and how it can be customized.

I have a XML Schema, but after uploading, the resulting form for editing is not what I want. How can I customize this part of the system so the form displays as I want it to display?

Thanks in advance,

Arjan Huijzer
7 REPLIES 7

kvc
Champ in-the-making
Champ in-the-making
Hi all,

I am very impressed by the new XML content editing possibilities in Alfresco WCM. However, I cannot find any documentation on how this process works and how it can be customized.

I have a XML Schema, but after uploading, the resulting form for editing is not what I want. How can I customize this part of the system so the form displays as I want it to display?

Thanks in advance,

Arjan Huijzer


Currently, we allow you to specify custom labels for elements using annotations in your XSD.  Examples of this can be seen in the XSDs used in the tutorials.  For GA, we'll be externalizing those annotations from the XSDs into property files to support, among other things, label localization.

What customizations were you potentially looking at for the form other than labels?

Kevin

huijzer
Champ in-the-making
Champ in-the-making
I would like to take an existing schema and somehow determine which elements will appear on the form and what type of input field to use for collecting the data.

Is this possible or is this functionality intended for schema's written specifically for Alfresco.

Thanks,

Arjan

arielb
Champ in-the-making
Champ in-the-making
it's not currently possible to specify what sort of ui control to display.  it is something that we are going to try to address for the release.  can you elaborate as to what sort of specificity you want?  for instance - do you want to have the choice between radios/comboboxes, checkboxes/lists, textfields/textareas, or is it more fine grained than that?

huijzer
Champ in-the-making
Champ in-the-making
It's those choices indeed, but also:
- Choose whether to include an input field for an optional element or not
- Add input fields for attribute values
- Determine layout of input fields, for instance three consecutive input fields on one line for three XML element <year>, <month> and <day>.

For now, is there documentation specifying how to (re)write a schema so that certain input controls are displayed?

arielb
Champ in-the-making
Champ in-the-making
these aren't currently planned features for GA, but they are definitely features we should be supporting.  could you please file some feature requests in jira (http://issues.alfresco.org) for these issues and i'll try to address them as soon as i can.

huijzer
Champ in-the-making
Champ in-the-making
I create dthree separate issues: WCM-123, WCM-124 and WCM-125. I'm looking forward to those future releases  Smiley Very Happy

kvc
Champ in-the-making
Champ in-the-making
I create dthree separate issues: WCM-123, WCM-124 and WCM-125. I'm looking forward to those future releases  Smiley Very Happy

Yes, thanks for the feedback and excellent requests.  Cheers.

Kevin