Pages

Wednesday, November 13, 2013

Alfresco 4: Map network drive with any alfresco space On Windows 7 or Later

Hi All,

We all know alfresco is a very useful ECM.
It provides support to map alfresco repository as network drive.
But, I found that many developers is facing the problems to map network drive on windows machine.
Here I follow this steps and I am able to connect with alfresco repository with any folder/space.

1)
First step to connect with alfresco repository as a network drive, you need to do entry in your windows host file which resides in (windows\system32\etc\host). Edit this file with following entry and save it:

               <fake IP address>   <computerName><any letter>

              i.e. 13.13.13.13     WorkStationA

2)
Now, open alfresco-global.properties (\Alfresco\tomcat\shared\classes\alfresco-global.properties) and search for the property "protocols.rootPath".

This property is an xPath expression. From alfresco 4.0+, this location is pointing to site space in company home. Now, if you want to map your network drive with your custom space other then site, you need to modify this property.

i.e. 
protocols.rootPath=/${spaces.company_home.childname}/app:user_homes

Here, I have changed my path to "user homes" space. this way you can map any space with network drive in alfresco.

3)
After that, Go To My Computer and then click on Map Network Drive. Choose any drive letter and give folder path as \\WorkStationA\Alfresco\, here WorkStationA is the name which is defined in host file as discussed above in step 1. When you click next, you will be asked for the login credentials. Enter your alfresco login credentials.(Default login credential for admin is username: admin and password: admin).

4)
Now, if everything would be fine, you will find a network drive in My Computer. From here, you can directly do bulk upload of documents in alfresco repository as well as download them.

That's it !!!

I hope this will solve your problem.
Happy Coding !!!

No comments:

Post a Comment