cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to share a document with someone who is not a user of Alfresco?

adriancrawley
Champ on-the-rise
Champ on-the-rise

We frequently need to send documents to users who aren't set up in Alfresco.

Is it possible to do this?

Sorry if it's a noob question. I did try to search for this but didn't get any suitable results.

I've added the GUEST user as a consumer of the file, but it still cannot be accessed by anyone outside of the system.

I followed this guide - Public Access to documents in a Share site | Alfresco ECM Services Melbourne Australia

Regards,
Adrian

Message was edited by: Adrian Crawley _

1 ACCEPTED ANSWER

morganp1
Confirmed Champ
Confirmed Champ

Hello,

As far as I understand, you are looking for something that would allow some non-Alfresco users to view some documents stored in Alfresco. That's exactly what the "Share" feature is providing. This was already present in Alfresco 4.x and as far as I know is still present in Alfresco 5.x.

You can take a look at this documentation: Sharing files | Alfresco Documentation

This documentation is for the Alfresco One and not the Community Version but this feature is present on both versions so it should help you Smiley Happy. There are/were some add-ons to extend the Share feature which doesn't provided a "download" link to the document before (< 4.2.something) but I think this has been added by default in newer versions.

Regards,
Morgan

View answer in original post

8 REPLIES 8

kalpesh_c2
Star Collaborator
Star Collaborator

Hi Adrian,

I need more information to help you precisely.

1. Which alfresco version are you using?

2. Did you create a custom model which defines seedSmiley Tongueublished ? Or, did you use model manager to define this ?

3. Did you created a rule for all inbound files? Did you created an executable JavaScript and placed it in "Company Home/Data Dictionary/Scripts" ? Did you selected appropriate actions (execute a script) while defining role?

4. Is your alfresco running on the same machine or you replaced http://localhost:8080 with appropriate details?

I have created C2 space under "Company Home" and invited guest with Consumer rights. I added two files under this space. After this configuration, in new browser (I am using chrome now instead of firefox), I am able to access this url :

http://localhost:8080/alfresco/guestDownload/d/workspace/SpacesStore/4d214e68-8d4b-4fdd-bdff-d0359d9...

Please note, I have not added any aspect or business rule to validate if guest and consumer rights gives me appropriate access or not.

I hope this helps.

Thanks,

Kalpesh

ContCentric

Many thanks for the reply Kalpesh.

We are using Alfresco 5.0 Community Edition with no customisation at all.

We are running it with the default settings.

We did not carry out any of the tasks you asked.

We are only using it for a small team , less than 10 people, but just wanted to know if there was an easy way to share content with a colleague who doesn’t have an alfresco login.

It is running on a linux server on our network.

It works fine and does everything we need for the team who use it daily.

Regards,

Adrian

Hi Ardian,

Yes, it is possible, just follow below steps and you will be able to share link by content to users who are not logged in (outside users)

1. Make any space under. Let us name it as "C2" under "Company Home"

2. Invite Guest user with consumer rights on this space.

3. Add a document under C2 space.

4. Form a url like : http://localhost:8080/alfresco/guestDownload/d/workspace/SpacesStore/4d214e68-8d4b-4fdd-bdff-d0359d9...

4d214e68-8d4b-4fdd-bdff-d0359d9b6e58 = document id of the document

Two.docx = name of the document

Try using this url and you should be able to download the file as we have given /d/workspace in our url.

Let me know if you face any issue in above steps.

Thanks,

Kalpesh

ContCentric

Hi Kaplesh,

I tried that but I’ve run into another problem.

I didn’t create a space in Alfresco, because I don’t know how to do that.

But I’ve added the ‘Guest’ user with consumer permissions to the folder that I want to share.

Then I constructed a URL like http://xx.xx.xx.xx:8080/alfresco/guestDownload/d/workspace/spacesstore/db64e98e-eee1-432f-9430-fecf767f0ceb/T010667-Haulier%20Management%20System%20Requirements.docx

The following error message is displayed in both Firefox and Chrome web browsers - HTTP Status 500 - No bean named 'webClientConfigService' is defined

Have you any idea how to sort this?

Regards,

Adrian

Hi Adrian,

Thanks for marking the reply useful!

I am using Alfresco community with alfresco-community-installer-201605-win-x64.exe and alfresco-community-installer-201604-win-x64.exe without problem.

I noticed similar problem reported at http status 500 when trying to access content.

I am downloading https://sourceforge.net/projects/alfresco/files/Alfresco%205.0.a%20Community/alfresco-community-5.0....  to reproduce this issue before I comment.

Please give me sometime to reply back.

Thanks,

Kalpesh

ContCentric

Hi Adrian,

I downloaded and installed alfresco community 5.0.a. I have followed exactly same steps and I am able to open/save the document. Not sure if it is possible for you to share remote access to resolve the problem. Apologies for not able to help as I am not able to reproduce this issue.

Thanks,

Kalpeshhttp://www.contcentric.com/

ContCentric

morganp1
Confirmed Champ
Confirmed Champ

Hello,

As far as I understand, you are looking for something that would allow some non-Alfresco users to view some documents stored in Alfresco. That's exactly what the "Share" feature is providing. This was already present in Alfresco 4.x and as far as I know is still present in Alfresco 5.x.

You can take a look at this documentation: Sharing files | Alfresco Documentation

This documentation is for the Alfresco One and not the Community Version but this feature is present on both versions so it should help you Smiley Happy. There are/were some add-ons to extend the Share feature which doesn't provided a "download" link to the document before (< 4.2.something) but I think this has been added by default in newer versions.

Regards,
Morgan

Hi Morgan,

Many thanks for your help, that was the correct solution.

That was the method I used to try and share the files, but I was opening the link in Internet Exploder.

It was generating all sorts of errors.

But it worked fine this morning when I tried to open the link in Chrome.

Once again, many thanks.

Regards,

Adrian