Access the Repository Browser from Alfresco Share

cancel
Showing results for 
Search instead for 
Did you mean: 

Access the Repository Browser from Alfresco Share

pauldhampton
Member II
0 15 16.3K
One of the new features included in Alfresco Enterprise Edition 3.2r (released 16th February 2010) is the ability for Alfresco Share to browse the Alfresco Repository (repo). I have run a number of webinars recently and have demonstrated this new feature. This has resulted in a couple of questions about how to enable this feature (by default it is switched off). So I thought I would write a note to guide you through the configuration process.



To enable your users to browse the repo using Share you need to edit the following XML configuration file:



C:\Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml



(Note: My install of Alfresco on Windows and is under c:\Alfresco directory)



Look for the section ‘Repository Library config Section’ and change the <visible>false</visible> to true (see image below). After this you will need to restart the Alfresco server.

[caption id='attachment_29' align='aligncenter' width='500' caption='XML Configuration File']XML Configuration File[/caption]

Now login to Alfresco Share and you should have a new 'Repository' button in the top navigation bar (see image below).

[caption id='attachment_31' align='aligncenter' width='500' caption='Navigation Bar ']Navigation Bar [/caption]

This new feature allows you to browse the general document library from within share. You have a number of ways to navigate and find content. These include:



  • Repository – Traditional folder hierarchy view


  • Categories – Browse using the assigned category hierarchy


  • Tags – Select content based on the tags assigned


  • I’m Editing – Quickly find documents that you are in the process of modifying


  • My Favourites – Quickly find documents that you have flagged as important to you


(see image below)

[caption id='attachment_33' align='aligncenter' width='500' caption='Document Library Browser View  ']Document Library Browser View  [/caption]
15 Comments
blog_commenter
Active Member
Hi Paul,



That's a great feature.



I understand this is at least a read-only access....But does that also mean that we can do all actions on any documents into repository from Share ? (like modifying security, or editing the doc ?)



Thanks,
pauldhampton
Member II
This is not a read only view. With version (3.2r) you can:

Upload new files (single or multiple)

Download

View

Edit Metadata

Upload new versions

Edit offline

Copy or Move...

Delete

Assign workflow

Manage aspects

Change type
wabson
Active Member II
Found the visibility setting while messing about in the config file yesterday and wondered what it did. The category browsing is particularly nice as we never had this feature in Explorer.
blog_commenter
Active Member
Thanks for this - good functionality. Does this mean that Sharepoint protocol functionality is also open to the repository?
blog_commenter
Active Member
Hi Paul,



I did a few test, and it seems that (with the Share interface) we can do almost all actions on document uploaded through Share, into the repository.

Only the security management is still a little bit different in Share compare to Alfresco repository (i.e not exactly aligned in term of role ?).



Also, it seems that now in 3.2r (maybe since 3.x ?) we can upload doc through Share, and then go to the JSF client to change some properties (like changing the security settings)....In JSF client, there is still a message saying that document should be preferably managed through Share, but there is no warning when an update on security is done through the JSF client.



Could you confirm this kind of action on security are 'supported' ?



Thanks,
pauldhampton
Member II
As you say most of the actions are available when browsing the repository via the Share interface. Modifying the security of documents and spaces in the repository is not supported in this release (should be available in 3.3). But most users would use the predefined security applied to the repository.



You can browse the ‘Sites’ space to change security settings via the Explore client. You just need to think about the implications of any changes that you make.
blog_commenter
Active Member
[...] For more info, and some screenshots : Paul Hampton’s blog [...]
blog_commenter
Active Member
Nice feature indeed.

Nice also to see that famous directors use Alfresco. I enjoyed Lovely Bones peter.
blog_commenter
Active Member
Great feature !

Does it is available in Community Edition 3.2r2 or when will be ?

Thanks for yours work and answer.
blog_commenter
Active Member
Hi Paul,



this is really a great feature and I would like to integrate this repository button into share. However I cannot find the share-config-custom.xml(.sample). I tried creating it with the content shown in the screenshot but that has no visible effect (neither in the positive nor in the negative sense). I also tried to teach share my custom model (types and aspects) which also showed no effect. I'm using Alfresco 3.2r2 (on Windows and Linux) - did something major change in between these last two releases?



I know overlooking things in the fridge. But overlooking a file having the exact path? Honestly I feel a bit stupid. Smiley Wink What am I missing?



Thanks

Chris
blog_commenter
Active Member
OK - got it myself. So far, this is an Enterprise Edition feature only. Being able to read can sometimes be an advantage. Smiley Wink However, do you know wether enabling custom aspects for share is also only available in Enterprise Edition at the moment? Cause this didn't work for me either.
blog_commenter
Active Member
Hi Paul,

I've placed this code within share-config-custom.xml









  true

  alfresco://company/home

 

  false

 







The file is located in /opt/alfresco/tomcat/shared/classes/alfresco/web-extension.



The version I'm running is:

Alfresco started (Community): Current version 3.2.0 (r2 2440) schema 3300 - Originally installed version 3.2.0 (r2 2440) schema 3300



I've restarted tomcat but still cannot see the browse repository functionality within share.  

Do you have any suggestions?



Thanks,

Eddie
pauldhampton
Member II
Eddie,



At this stage this feature is only available in Alfresco Enterprise 3.2r. It should make it to Alfresco Community 3.3.



Paul
blog_commenter
Active Member
I can confirm this is available in Community 3.3G.
blog_commenter
Active Member
Hi Paul & Gary,

Thanks for confirmation - I've now had a play w/ 3.3. Rules are very cool. I see that the repository can be switched on but it would be great if the view/structure was based on role rather than current all or nothing.



For example, as site admin, I want to be able to view Company Home, web scripts, etc. However, I don't want others to see these directories.



Cheers, Eddie