06-12-2014 11:59 AM
06-12-2014 12:10 PM
Document doc = (Document) session.getObject(object_id);
doc.getPaths().get(0);
06-12-2014 02:04 PM
06-12-2014 09:50 PM
06-13-2014 02:37 AM
09-28-2016 05:15 PM
what if i want noderef by providing the path of file?
I have file present in alfresco repository at some path. How do i get the noderef using path.
Actually i want to download that on my project.
09-28-2016 09:16 PM
Please use following method of org.alfresco.service.cmr.model.FileFolderService,it is used to resolve a file or folder name path from a given root node down to the final node.
for rootNodeRef you can pass company root node
public FileInfo resolveNamePath(NodeRef rootNodeRef, List<String> pathElements) throws FileNotFoundException;
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.