cancel
Showing results for 
Search instead for 
Did you mean: 

basic question : content type for content created using form

meetkenepps
Champ in-the-making
Champ in-the-making
Probably, this might be the most basic question about WCM, but I could not find any reference to this on the wiki or other articles.

What is the content type of the content that I create through the web-forms which are created by Alfresco WCM when I upload my custom XSD (I am following the tutorial on wiki with alfresco sample web-app).

Another question if the question above makes sense – can I configure/customize Alfresco to store the content into a custom content type instead of the default content type.

-Ken
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
The data entered into a Web Form is saved as an XML file, and that XML file conforms to the structure defined in the XSD of the Web Form; in other words it has the type defined in the XSD.

That XML instance document happens to be stored in the repository with a DM style content type as well, but that behaviour is best thought of as an internal implementation detail and is not readily customisable.  With WCM it's better to think of "types" as being defined by XSDs - the DM style mechanisms (aspects, types, etc.) are (to simplify somewhat) not relevant in WCM.

Cheers,
Peter

mbrevoort
Champ in-the-making
Champ in-the-making
Hi Peter,

I just came across this thread when looking for information regarding the relationship of content types and modeling and WCM forms and XML created from those forms.  In your comment you said "the DM style mechanisms (aspects, types, etc.) are (to simplify somewhat) not relevant in WCM".  Is it possible to leverage aspects and types via WCM, or more specifically web scripts?  In this case can you still use the Web Forms?  Can you just elaborate on your stated simplification?

Thanks!
Mike