AnsweredAssumed Answered

Overriding / modifying default content model code

Question asked by mnorth on Apr 16, 2009
Latest reply on May 26, 2009 by riogrande
Hi all,

First off, I'm not sure if this is the right forum to be asking this; if not, I apologise for putting it here. With that out of the way…

I'm looking at the code behind Labs to see if I can do things such as:

- Remove "content" from the content type drop-down menu. I've added new types for categorisation, but am wondering if the default "content" value can be removed without breaking things;
- Create a custom metadata field that, instead of typing into, can have the value selected from a drop-down/combobox menu, and
- Hide some of the default metadata fields that appear when adding new content.

I've been reading through the documentation, and I've learned a lot about Alfresco already, but I'm unsure as to how to do the above. I gather that overriding the default code (possibly by altering a copy of it to suit my needs, and then declaring the .XML or other files) would do it, but I'm not 100% sure if this can be done in XML only, or if Java editing would be required. Any information or examples that people could provide would be *MASSIVELY* appreciated.  :)

Outcomes