Boa tarde.
Alguem sabe se é possível localizar documentos através de uma busca pelo Alfresco Node Reference?
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.
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.