I'm a beginner in alfresco, I'm working on a java class that sends mail to validate the upload of a document, and I want to know how can I get the url of the uploaded document. thank you
Are you using alfresco share interface? Document detail url of any document in alfresco repository can be generated from noderef of document in following way.
thank you for your help, in fact, the document is being uploaded to the alfresco repository, and I need to(using java) get the url f the document to send it in an email
It's been a while I had played with those java services but You will find some API within nodeservice which will give you download url. Or else you can generate using nodeId.