Good morning,
regarding building URL Alfresco document something like this :
http://192.168.1.3:8080/share/s/g9yKWYpgQSyqXAaLPP7nA
at the moment I build URL String mainly with the alfresco-global.properties in this way :
------------------------------
NodeRef curNode = new NodeRef("workspace://SpacesStore/" + node );
QuickShareDTO qsdto = quickShareService.shareContent(curNode);
String id = qsdto.getId();
String protocol = properties.getProperty("share.protocol");
String host = properties.getProperty("share.host");
String port = properties.getProperty("share.port");
String context = properties.getProperty("share.context");
String stringUrl = protocol + "://" + host + ":" + port + "/" + context + "/s/" + id;
------------------------------
I'd like to know if there is another way with API Alfresco to do the same -> String stringUrl
Many thanks