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.
<bean id="wqsmodule_sectionAssetCollections" class="java.util.ArrayList" > <constructor-arg> <list> <bean class="org.alfresco.module.org_alfresco_module_wcmquickstart.model.AssetCollectionDefinition"> <property name="name" value="latest.articles" /> <property name="title" value="Latest Articles" /> <property name="queryType" value="alfrescoCmis" /> <property name="maxResults" value="3" /> <property name="query"><value>SELECT d.* FROM cmis:document AS d JOIN ws:webasset AS wa ON d.cmis:objectId = wa.cmis:objectId WHERE d.cmis:objectTypeId='D:ws:article' AND in_tree(d, '%{section:.}') ORDER BY wa.ws:publishedTime DESC</value></property> </bean> <bean class="org.alfresco.module.org_alfresco_module_wcmquickstart.model.AssetCollectionDefinition"> <property name="name" value="section.articles" /> <property name="title" value="Articles" /> <property name="query"><value>SELECT d.* FROM cmis:document AS d JOIN ws:webasset AS wa ON d.cmis:objectId = wa.cmis:objectId WHERE d.cmis:objectTypeId='D:ws:article' AND in_tree(d, '%{section:.}') ORDER BY wa.ws:publishedTime DESC</value></property> </bean> <bean class="org.alfresco.module.org_alfresco_module_wcmquickstart.model.AssetCollectionDefinition"> <property name="name" value="featured.articles" /> <property name="title" value="Featured Articles" /> </bean> </list> </constructor-arg> </bean>