【发布时间】:2016-06-30 20:06:36
【问题描述】:
我正在尝试使用以下 CMIS 查询在 Alfresco 中查找文件夹的内容:
SELECT *
FROM cmis:document
WHERE CONTAINS('PATH:"/app:company_home/st:sites/cm:GM/cm:emir/cm:FAQ//*"')
在 Node Browser 中,如果我导航到该文件夹,我会看到 Primary Path 的以下值
(我添加了换行符以便于阅读):
/{http://www.alfresco.org/model/application/1.0}company_home
/{http://www.alfresco.org/model/site/1.0}sites
/{http://www.alfresco.org/model/content/1.0}GM
/{http://www.alfresco.org/model/content/1.0}EMIR
/{http://www.alfresco.org/model/content/1.0}FAQ
但 Alfresco 失败并显示以下消息:
原因:org.alfresco.scripts.ScriptException: 05120032 失败 执行脚本 '类路径*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js': 05120 031 未知的列/属性路径
我正在针对 Alfresco Community 3.3 进行测试。
【问题讨论】:
标签: alfresco