12-02-2013 07:56 AM
NodeRef folder = new NodeRef("PATH:/app:company_home/app:sites");
fileFolderService.create(folder, "asdf", ContentModel.TYPE_FOLDER);
12-02-2013 08:06 AM
12-02-2013 08:24 AM
@Override
protected void executeImpl(Action uAction, NodeRef uNodeRef) {
// TODO Auto-generated method stub
fileFolderService.create(uNodeRef, "asdf", ContentModel.TYPE_FOLDER);
}
12-02-2013 09:20 AM
12-02-2013 09:26 AM
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");
ResultSet rs = searchService.query(storeRef, SearchService.LANGUAGE_XPATH, "/app:company_home");
NodeRef companyHomeNodeRef = null;
try
{
if (rs.length() == 0)
{
throw new AlfrescoRuntimeException("Didn't find Company Home");
}
companyHomeNodeRef = rs.getNodeRef(0);
}
finally
{
rs.close();
}
ResultSet rs = searchService.query(storeRef, SearchService.LANGUAGE_XPATH, "/app:company_home/st:sites");
12-03-2013 06:06 AM
/app:company_home/st:sites/cm:${SITE_SHORT_NAME}
12-19-2013 07:31 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.