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?
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.
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.