custom properties not showing up in Share
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 10:25 AM
I created a custom aspect ([Tomcat-home]/webapps/alfresco/WEB-INF/classes/alfresco/extension) and set it on a folder in Alfresco Explorer. I want to be able to see those properties in Share as well. I looked through some of the blogs and one of them said to put the customisations in [Tomcat-home]/shared/classes/alfresco/extension. That didn't work. Help!
Thanks!
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 11:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 11:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 12:02 PM
http://wiki.alfresco.com/wiki/Forms
And you can find some additional info in my blog-post
http://loftux.se/en/2010/02/11/alfresco-forms-for-share/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 01:49 PM
I do not have a custom type, just a custom aspect. If I write an aspect evaluator… what do I write for node-type evaluator? Do I put the parent type as value for the condition? Or are you supposed to "show" the custom aspect a different way?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 02:33 PM
You can just grab a version alfresco-community-tomcat-3.3.[zip|tar.gz] from custom installs http://wiki.alfresco.com/wiki/Community_Edition_file_list_3.3, unzip it and it should be there. You will see some sample files there that will help you on the way
As for node-type evaluator, you add your property/properties defined in your aspect to the predefined cm:content form type. Just copy and paste into share-config-custom.xml
<!– cm:content type (existing nodes) –> <config evaluator="node-type" condition="cm:content"> <forms> <!– Default form configuration for the cm:content type –> <form> <field-visibility> <show id="cm:name" /> <show id="cm:title" force="true" /> <show id="my:custompropertyfromaspect" /> …
Note that you may have to add it in several places for 3.3, there are different configs depending on if you are creating or updating content. Se share-form-config.xml in tomcat/webapps/share/WEB-INF/classes/alfresco
Also, your aspect will not show in a create document dialog if it is not mandatory to that content type. But it will show once you have added the aspect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 02:57 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 03:03 PM

But if you are aiming for Share, you will definitely be better off going through the effort to upgrade your code. And once you are done, there will be a 3.3G release in a couple of weeks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010 03:07 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2010 12:58 PM
I followed the instructions in "Installing and Configuring Alfresco Community Edition 3.3" and I started the server, but nothing happens when I go to http://localhost:8080/share or http://localhost:8080/alfresco. The Firefox wheel icon keeps spinning and the page never loads. Does this sound familiar? Do you have any idea what I should do?
