AnsweredAssumed Answered

URI of the document in Alfresco

Question asked by azarfaiz on Feb 27, 2018
Latest reply on Mar 13, 2018 by azarfaiz



I tried the below code

URI uri = new URI("");
File f = new File(uri);


I am getting the error as "URI scheme is not file". But when i put the in browser, I could be able to see my document opening in the browser window.


My question is then what will be the correct URI (how to get the URI) that refers to my document so that i could create a reference File object for the document present in Alfresco.


Any help appreciated.