cancel
Showing results for 
Search instead for 
Did you mean: 

Make one file available within multiple sites

theeye
Champ in-the-making
Champ in-the-making
Hello Community!

I found some topics related to this but they were either outdated or didn't suit me in another way.

I would like to make files available within multiple sites. Let me explain:

File 1 is located in Repository/Background Information

Now I have the sites Marketing and Customer Support. Everybody from the site Marketing and everybody from the site Customer Support should habe access to File 1.
If someone from Marketing makes some changes to File 1, they should apply to "everyone's File 1".

Basically I don't want to copy File 1 into every side and I just need some kind of shortcut for File 1 to be accessible from the sites Marketing and Customer Support.

Information about my System:
<li>Alfresco 4.2c-1
<li>Ubuntu 12.04 (server) - 64bit

Looking forward to your suggestions!

Regards
3 REPLIES 3

theeye
Champ in-the-making
Champ in-the-making
I'm very surprised that I don't get any response to this. Isn't that one of the big advantages of an CMS/DMS? To have files just saved in one place, accessible from others?
Or am I getting the idea behind the "site-feature" wrong?

Regards

vamirr
Champ on-the-rise
Champ on-the-rise
My users needed this functionality too.  In my case, a subset of sites need the same documents,  the documentation is edited about every other month.  Having to go through and update each site containing the documentation would be horrendous (approximately 300 sites).

The repository supports this but its not exposed to the Share UI. You can write a fairly simple script to do this.  Here's an example.

<javascript>
   //this is the node where you want the document displayed
   var targetNode = document;
   
   //this is the node you want to display in multiple places.
   var sourceNode  = utils.getNodeFromString("workspace://SpacesStore/f5ae0fe7-1f12-4547-a832-dacf3fc915d9");

   if(sourceNode){
      targetNode.addNode(sourceNodes);
      targetNode.save();
   }
</javascript>

Edit the source node's nodeRef (or use another search method), then in the Explorer interface, execute it against the folder where you want to see the new node.  

There it is.  All edits to the source node will be reflected in the new location.

Just note that the site members of the target site are going to need at least read privileges to the content where it originally exist.

vdewillem
Champ in-the-making
Champ in-the-making
You can also use links. An add-on was created during the Alfresco Devcon hack-a-ton that adds support for creating links in Share.
- http://www.youtube.com/watch?v=c4PJhfsYZ5Q
- https://github.com/fmaul/alfresco-share-clipboard (4.2)

However, using associations yields better search results IMHO. Using links you will only be able to search for the name of the link (?).