cancel
Showing results for 
Search instead for 
Did you mean: 

Repository Access from Alfresco Share

piski
Champ on-the-rise
Champ on-the-rise
Hi all,

I've recently read what's the new abilities of Alfresco Entreprise 3.2
-> http://www.alfresco.com/products/editions/enterprise/3-2/

[size=85]"Repository Access from Alfresco Share – Users can now use Alfresco Share to browse both the collaboration area and the general document management area. Allowing users to quickly move from working within a project team to general document management without having to change clients.
New Navigation options – Users can now browse the document repository using folders, Cloud Tags, Category lists or by Favourites. These new options make it even easier to find the correct content."
[/size]

I've seen how to configure it here -> http://wiki.alfresco.com/wiki/Enabling_Share_Repository_Document_Library

I check this and the result is that I have'nt a file such as tomcat/shared/classes/web-extension/share-config-custom.xml.sample in my web-extension directory

I was not able to find a related subject so this is my questions :

Is this enchancement is only available for Entreprise version ?
If yes : Will this improvement be available in Community version and When (next release, road map) ?
If no : Where this file is located ? How to install correctly this ability ?

Thanks you all !
8 REPLIES 8

mikeh
Star Contributor
Star Contributor
Is this enchancement is only available for Entreprise version ?
If yes : Will this improvement be available in Community version and When (next release, road map) ?
If no : Where this file is located ? How to install correctly this ability ?

It will be in v3.3 Community, and you can see that today if you get the current version from HEAD.

Copy the sample file from tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension

Thanks,
Mike

piski
Champ on-the-rise
Champ on-the-rise
Thanks Mike for your reply

What do you mean by "if you get the current version from HEAD" ?

Thanks for your help !

mikeh
Star Contributor
Star Contributor

eddiem
Champ in-the-making
Champ in-the-making
Hi Mike,

I've placed share-config-custom.xml in the directory opt/alfresco/tomcat/shared/classes/alfresco/web-extension, have restarted tomcat via opt/tomcat/alfresco.sh stop & then  opt/tomcat/alfresco.sh start but I still don't see the repository link or the categories when I log into Share. I've refreshed my browser cache & have tried in FF (3.6) & Safari (4.0.5)

I know that the system is picking up the file, because if I put an error (non closing tag, for example) I see the error in the logs.

My share-config-custom.xml file is as follows:

<alfresco-config>
   <!– Global config section –>
   <config replace="true">
      <flags>
         <!–
            Developer debugging setting to turn on DEBUG mode for client scripts in the browser
         –>
         <client-debug>true</client-debug>
         <!–
            LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift).
            This flag automatically activates logging on page load.
         –>
         <client-debug-autologging>false</client-debug-autologging>
      </flags>
   </config>

   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary" replace="true">

      <!–
         Whether the folder Tree component should enumerate child folders or not.
         This is a relatively expensive operation, so should be set to "false" for Repositories with broad folder structures.
      –>
      <tree>
         <evaluate-child-folders>false</evaluate-child-folders>
      </tree>

      <!–
         Used by the "Manage Aspects" action

         For custom aspects, remember to also add the relevant i18n string(s)
            cm_myaspect=My Aspect
      –>
      <aspects>
         <!– Aspects that a user can see –>
         <visible>
            <aspect name="cm:generalclassifiable" />
            <aspect name="cm:complianceable" />
            <aspect name="cm:dublincore" />
            <aspect name="cm:effectivity" />
            <aspect name="cm:summarizable" />
            <aspect name="cm:versionable" />
            <aspect name="cm:templatable" />
            <aspect name="cm:emailed" />
            <aspect name="emailserver:aliasable" />
            <aspect name="cm:taggable" />
            <aspect name="app:inlineeditable" />
         </visible>

         <!– Aspects that a user can add. Same as "visible" if left empty –>
         <addable>
         </addable>

         <!– Aspects that a user can remove. Same as "visible" if left empty –>
         <removeable>
         </removeable>
      </aspects>

      <!–
         Used by the "Change Type" action

         Define valid subtypes using the following example:
            <type name="cm:content">
               <subtype name="cm:mysubtype" />
            </type>

         Remember to also add the relevant i18n string(s):
            cm_mysubtype=My SubType
      –>
      <types>
         <type name="cm:content">
            <subtype name="mz:pcb" />
            <subtype name="mz:specialoffer" />
         </type>

        <!– <type name="cm:folder">
            <subtype name="cm:myfoldersubtype" />
         </type>–>
      </types>

      <!–
         If set, will present a WebDAV link for the current item on the Document and Folder details pages.
         Also used to generate the "View in Alfresco Explorer" action for folders.
      –>
      <repository-url>http://myIP:8080/alfresco</repository-url>
   </config>

   <!– Repository Library config section –>
   <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
      <!–
         Whether the link to the Repository Library appears in the header component or not.
      –>
      <visible>true</visible>

      <!–
         Root nodeRef for top-level folder.
      –>
      <root-node>alfresco://company/home</root-node>

      <!–
         Whether the folder Tree component should enumerate child folders or not.
         This is a relatively expensive operation, so should be set to "false" for Repositories with broad folder structures.
      –>
      <tree>
         <evaluate-child-folders>false</evaluate-child-folders>
      </tree>
   </config>
</alfresco-config>

I'm running this version:
Alfresco started (Community): Current version 3.2.0 (r2 2440) schema 3300 - Originally installed version 3.2.0 (r2 2440) schema 3300

In alfresco.log I see the following error reported:
07:59:43,122 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@6209fb: display name [Root WebApplicationContext]; startup date [Fri Mar 19 07:59:43 UTC 2010]; root of context hierarchy
07:59:44,109 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@6209fb]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c9f71d
07:59:47,801 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.manager' defined in class path resource [alfresco/web-framework-application-context.xml]: Invocation of init method failed; nested exception is org.alfresco.config.ConfigException: 02190000 Unable to locate evaluator implementation for 'node-type' for org.alfresco.config.ConfigSectionImpl@1c13a68 (evaluator=node-type condition=cm:content replace=false)
Caused by: org.alfresco.config.ConfigException: 02190000 Unable to locate evaluator implementation for 'node-type' for org.alfresco.config.ConfigSectionImpl@1c13a68 (evaluator=node-type condition=cm:content replace=false)
        at org.alfresco.config.BaseConfigService.processSection(BaseConfigService.java:459)
        at org.alfresco.config.BaseConfigService.getConfig(BaseConfigService.java:225)
        at org.alfresco.config.BaseConfigService.getConfig(BaseConfigService.java:167)
        at org.alfresco.web.framework.WebFrameworkManager.init(WebFrameworkManager.java:131)


Do you have any suggestions?  It's looking like something else is failing but I'm at a loss to know what?

Thanks
Eddie

eddiem
Champ in-the-making
Champ in-the-making
Doh!
Sorry Mike, hadn't noticed the 'Enterprise' qualifier! Is there a way to backport this functionality to 3.2r2?

Cheers,
Eddie

mikeh
Star Contributor
Star Contributor
Doh!
Sorry Mike, hadn't noticed the 'Enterprise' qualifier! Is there a way to backport this functionality to 3.2r2?

Cheers,
Eddie
Not very feasible I'm afraid, sorry - it'll be in v3.3 released soon.

Thanks,
Mike

eddiem
Champ in-the-making
Champ in-the-making
Hi Mike,
Thanks for the response. Quick but difficult question - how soon is soon?! Is it likely early April or late June, etc?
Thanks
Eddie

mikeh
Star Contributor
Star Contributor
In the next few weeks or so.

Thanks,
Mike