03-13-2012 07:56 AM
03-13-2012 12:40 PM
03-14-2012 06:48 AM
03-15-2012 11:15 AM
03-15-2012 11:50 AM
03-16-2012 12:12 PM
String query = "PATH:\"app:company_home/st:sites/cm:research/cm:dataLists\"";
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");
ResultSet resultSet = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, query);
NodeRef listNodeRef = resultSet.getNodeRef(0);
resultSet.close();
//create dataLists object
String nameContactList = "Summary";
Map<QName, Serializable> contentProps = new HashMap<QName, Serializable>();
contentProps.put(ContentModel.PROP_NAME, nameContactList);
ChildAssociationRef dataList = nodeService.createNode(listNodeRef,
ContentModel.ASSOC_CONTAINS,
QName.createQName(NamespaceService.DATALIST_MODEL_PREFIX, nameContactList),
TYPE_CONTACTLIST,
contentProps);
11-27-2012 11:50 AM
02-07-2013 07:31 AM
02-07-2013 09:13 AM
02-08-2013 01:12 AM
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.