As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
name = (String) nodeService.getProperty(nodeRef, QName.createQName(Constants.PROP_NAME)); String path= DownloadContentServlet.generateBrowserURL(nodeRef, name);
public static final String NAMESPACE_CONTENT_MODEL = "http://www.alfresco.org/model/content/1.0"; public static final String PROP_NAME = createQNameString(NAMESPACE_CONTENT_MODEL, "name"); public static String createQNameString(String namespace, String name) { return "{" + namespace + "}" + name; }