cancel
Showing results for 
Search instead for 
Did you mean: 

View document as guest

e-no91
Champ in-the-making
Champ in-the-making
I've created a public site with a folder accessible by guest as a consumer.

I've tried adding alfresco.authentication.allowGuestLogin = false at the very bottom of file
alfresco-global.properties

But when I copy the document detail's share URL when logged out, the log in page still appears.

How can I directly view the document (not download!) as a Guest without logging in?

Thanks in advance!

EDIT: I just tried setting the URL in this format - http://hostSmiley Tongueort/share/proxy/alfresco/api/node/content/workspace/SpacesStore/nodeid/yourfilename
An Authentication Required Form pops up, but I feel like I'm almost there~
4 REPLIES 4

mlagneaux
Champ on-the-rise
Champ on-the-rise
Hello,

In Alfresco 4.2, there's a new action on document to share them. This action gives you a link and i think this link gives access to the document without authentication.
Does it fit your needs ?

e-no91
Champ in-the-making
Champ in-the-making
Hi,

I've tried that, but it didn't work. I've added '?guest=true' at the end of the URL, it still needs the guest to log in.

So I tried using the download url instead, with the '?guest=true':
http://127.0.0.1:8080/share/proxy/alfresco/api/node/content/workspace/SpacesStore/2ace83e7-a387-4394...
The guest will be taken to pfd.js viewer, but everything is empty, even when guest downloads the file, the file's size is 0 byte.

Do I need to configure anything?

e-no91
Champ in-the-making
Champ in-the-making
Hi,

I've tried that, but it didn't work. I've added '?guest=true' at the end of the URL, it still needs the guest to log in.

So I tried using the download url instead, with the '?guest=true':
http://127.0.0.1:8080/share/proxy/alfresco/api/node/content/workspace/SpacesStore/2ace83e7-a387-4394...
The guest will be taken to pfd.js viewer, but everything is empty, even when guest downloads the file, the file's size is 0 byte.

Do I need to configure anything?

e-no91
Champ in-the-making
Champ in-the-making
Hi,

I've tried that, but it didn't work. I've added '?guest=true' at the end of the URL, it still needs the guest to log in.

So I tried using the download url instead, with the '?guest=true':
http://127.0.0.1:8080/share/proxy/alfresco/api/node/content/workspace/SpacesStore/2ace83e7-a387-4394...
The guest will be taken to pfd.js viewer, but everything is empty, even when guest downloads the file, the file's size is 0 byte.

Do I need to configure anything?