cancel
Showing results for 
Search instead for 
Did you mean: 

access contentmodel from dashlet?

targa2000
Champ in-the-making
Champ in-the-making
How do we access available content models and the info in them from a dashlet?  For instance, how do I find all available aspects? or types?  Do I have to do a luceneSearch?  Is there any other way?  Easier way?
2 REPLIES 2

zaizi
Champ in-the-making
Champ in-the-making
There should already be a webscript to list configured aspects as you can add aspects to documents from the Document details page. Check the existing webscripts.

ssaravanan
Champ in-the-making
Champ in-the-making
Create a file named 'web-framework-config-custom.xml' and deploy it to the share/WEB-INF/classes/alfresco/web-extension directory.
Add your custom model specific fields and aspects.
You need to edit web-client-config-custom.xml to have it displayed in the action wizard , advanced search, of Alfresco webclient.