Sample Types and Aspect – Config Files
Back in January I posted a blog about how powerful the Aspect feature was in Alfresco. It included two videos – one showing how to apply an aspect and one showing how to search on an aspect. A number of people have asked about getting access to my configuration files so they could try it out themselves. So here are the instructions and sample files.
Overview
These customisations will add a number of new types and one new aspect:
| Types | Attributes | Aspect | Attributes | |
| Contract | Contract ID | Customer Info | Customer Name | |
| Standard Operating Procedure | SOP ID | Customer ID | ||
| Report | Report ID | Customer Contact | ||
| Case File | Case ID | |||
| Issue Log | Issue ID | |||
| Proposal | Proposal ID | |||
| Meeting Notes | Meeting ID | |||
Instructions
The demo configurations consist of 5 files. Copy these to the relevant location within the Alfresco install (note: if you already have some of these files, with local configurations, you will need to merge the changes).
Copy demomodel.properties to
[ALFREASCO]/tomcat/shared/clases/alfresco/web-extension/messages
(note: you will need to create the messages folder)
Copy custom-slingshot-application-context.xml and share-config-custom.xml to
[ALFRESCO]/tomcat/shared/clases/alfresco/web-extension
(note: you will most probably already have a share-config-custom.xml file. This one can replace the default one if you have not modified it)
Copy demo-context.xml and demoModel.xml to
[ALFRESCO]/tomcat/shared/clases/alfresco/extension
Now restart the server. If everything goes right you should now be able to…
|
![]() |


May 17th, 2011 at 6:04 pm
Paul,
Thanks for these – much appreciated.
Eddie
May 18th, 2011 at 8:32 am
Hi
you have a problem in the file demomodel.properties.
Modify :
alfresco.web-extension.messages.demomodel
By
alfresco.messages.demomodel
Otherwise you can not start Alfresco Share
Thanks for the post
Sorry for my English
May 18th, 2011 at 9:53 am
Hi Jean,
Thanks for the feedback. I have no problems with my install files on my machine (running Alfresco Enterprise 3.4.1). But if others have problems then I suggest that they make the changes that you have outlined.
Paul