01-25-2012 01:33 PM
01-27-2012 07:05 PM
>>> query = 'select cmis:objectId from sc:whitepaper'
>>> rs = repo.query(query)
>>> len(rs)
3
Date ranges are similarly easy. Here's the query for a date range that also joins on a custom aspect, sc:webable, to find objects with the published date in the given range:queryString = """select d.cmis:objectId, w.sc:published
from sc:whitepaper as d
join sc:webable as w on d.cmis:objectId = w.cmis:objectId
where w.sc:published > TIMESTAMP '2006-01-01T00:00:00.000-05:00'
and w.sc:published < TIMESTAMP '2007-06-02T00:00:00.000-05:00'"""
01-31-2012 11:32 AM
01-31-2012 11:59 AM
01-31-2012 01:51 PM
02-07-2012 03:41 AM
02-07-2012 09:44 AM
07-24-2014 12:37 PM
02-07-2012 09:47 AM
04-17-2012 03:31 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.