AnsweredAssumed Answered

Is this correct syntax to query for content by path and name

Question asked by jcblitz on Nov 8, 2007
Latest reply on Nov 13, 2007 by andy
I have content that is located at Company Home > Pathology Reports and the name is 1234_WS_FTP2.LOG. I'm trying to query for it by including the path as well as the name since the name might not be unique, but the path and name are.  So the query I've come up with is

PATH:"/app:company_home/cm:Pathology_x0020_Reports/@{http://www.alfresco.org/model/content/1.0}name:1234_WS_FTP2.LOG"

The problem is the name of the row that is returned is "Pathology Reports", not the actual content. Is that normal or should I be expecting to be returned the content? Is it a matter of my query not being correct/specific enough?

Outcomes