cancel
Showing results for 
Search instead for 
Did you mean: 

Calling pdf preview in Alfresco 5 remotely

gommo
Champ in-the-making
Champ in-the-making
I'm looking at calling the pdf preview code in the URL below from a remote Java App. Before Alfresco 5 we could do this and authenticate with basic auth. It appears that the share proxy can't do basic auth? Or am I missing something?

e.g.
StringBuilder stringBuilder = new StringBuilder(url).append("/share/proxy/alfresco/api/node/workspace/SpacesStore/").append(id).append("/content/thumbnails/pdf?c=force");

Thanks
1 REPLY 1

gommo
Champ in-the-making
Champ in-the-making
Never mind. Silly me.

I can call the repository directly Smiley Wink

StringBuilder stringBuilder = new StringBuilder(url).append("/service/api/node/workspace/SpacesStore/").append(id).append("/content/thumbnails/pdf?c=force");