As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
select * from cmis:document where IN_FOLDER('"+ objectFolderId +"')
sql = " select d.*, t.* " + " from cmis:document as d " + " join cm:titled as t on d.cmis:objectId = t.cmis:objectId" + " where IN_FOLDER('"+ objectFolderId +"') ";
Maybe the object in question doesn't have an cm:titled aspect? :?:
sql = " select d.*, t.* " + " from cmis:document as d " + " join cm:titled as t on d.cmis:objectId = t.cmis:objectId"
HiTo use IN_FOLDER with join you have to specify the qualifier.It needs to know where to apply the constraint.You use the alias for the table in the IN_FOLDERSELECT D.*, O.* FROM CMISOCUMENT AS D JOIN CMWNABLE AS O ON D.cmisbjectId = O.cmisbjectId WHERE IN_FOLDER(D, 'SOME_ID')Andy