12-23-2008 03:47 AM
12-23-2008 06:31 AM
12-24-2008 05:26 AM
12-24-2008 06:09 AM
01-27-2009 11:46 PM
01-29-2009 09:18 AM
01-29-2009 10:21 PM
06-30-2009 02:47 AM
03-30-2011 04:15 AM
Content[] content = WebServiceFactory.getContentService().read(new Predicate(new Reference[]{fileRef}, STORE, null) , "{http://www.alfresco.org/model/content/1.0}content" );
String url = content[0].getUrl();
After getting URL, you just need to pass ticket id after the URL like this–
url = url + "?ticket=" + ticket;
I am trying to open a pdf in a browser. I am getting the url as mentioned in your code and I am appending ticket to above url. When I paste that url in the new browser window I should be able to see the pdf file but I am getting a login page. Do you know why is this happening? Am i doing something wrong here?03-31-2011 02:10 PM
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.