01-06-2017 01:58 PM
Boa tarde.
Alguem sabe se é possível localizar documentos através de uma busca pelo Alfresco Node Reference?
01-06-2017 06:23 PM
Yes, it is possible. You can either go into the Node Browser in admin tools, paste in the node reference, then change the search selector to "NodeRef", or you can do it with code.
For example, using JavaScript, you can use the search service's findNode function.
01-09-2017 05:40 AM
In addition to Jeff Potts' comment, you can use Javascript Console (for executing javascript API):
var n = search.findNode("workspace://SpacesStore/8ef8a5d7-7a49-4b95-9673-fbfaa315375f");
logger.log(n.name + " :: " + n.typeShort + " :: " + n.nodeRef);
Besides, you may always use the details page in Alfresco Share:
And finally, using Alfresco Node Browser, you may use also CMIS Search. Just select "cmis-strict" or "cmis-alfresco", select "workspace://SpacesStore" and type your query:
SELECT * FROM cmis:document WHERE cmisbjectId = '8ef8a5d7-7a49-4b95-9673-fbfaa315375f'
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.