cancel
Showing results for 
Search instead for 
Did you mean: 

guest=true

carlos_m
Champ in-the-making
Champ in-the-making
Using alfresco 1.4 and ldap with a default configuration, I would like to get a file without login, I've seen here http://wiki.alfresco.com/wiki/URL_Addressability#Ticket_URL_Argument and It is supported.

But it doesn't work.

http://portal.es/9080/alfresco/webdav/Guest%20Home/Alfresco-Tutorial.pdf?guest=true

do I need to configure anything?

Thanks!!!!
6 REPLIES 6

kevinr
Star Contributor
Star Contributor
The WebDav servlet does not support the 'guest' URL argument. You need to use the DownloadContent servlet url for this.

Thanks,

Kevin

carlos_m
Champ in-the-making
Champ in-the-making
Thanks!!

bparis
Champ in-the-making
Champ in-the-making
How could someone explain this behavior of the download or guestDownload servlets:

- with IE6 the behavior is the one we are expecting: opening IE I can get an Alfresco document without explicit identification if I complete the URL with guest=true parameter.  And the download fails without this parameter, that's ok ;

- in other browsers such Netscape 7.1, firefox 1.02 or the linux 'wget' line command, I can directly get the document without identification and WITHOUT any '?guest=true' in the URL.

Bernard

kevinr
Star Contributor
Star Contributor
If the document is available to the Guest user (i.e. the permissions are correct) and you use the guestDownload servlet, then the guest=true is NOT required on the URL. I'm not quite sure why you are seeing difference behaviour depending on which browser/cmd you are using - as the servlet does not have any different behaviour depending on browser type. It sounds to me like you have a cached version of the doc on the local machine…?

Thanks,

Kevin

linuxos77
Champ in-the-making
Champ in-the-making
Now for a dumb question….

I would like to share my document with a guest user.  I have set guest user permissions properly (guest has collaboration access to the document), but when I cut and paste the Details Page URL to the guest user they are prompted to the login page instead of the document details page.  I know I could append ?guest=true to the end of the URL but having users do this every time simply won't work.  How do I use the guestDownload servlet?

kevinr
Star Contributor
Star Contributor
Are you sending the download URL or the details page URL? As the guest user will need access to the parent space to see the details page, but only need Guest access to the document itself to use a download url. If you have Invited the Guest user to the document itself with Consumer access then you can paste them the download url e.g.
http://localhost:8080/alfresco/download/attach/workspace/SpacesStore/a29fc3af-89ca-11db-8196-dbdb450...
and it will work without guest=true or using the guestDownload servlet (which isn't much use here)

Thanks,

Kevin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.