02-11-2009 04:46 PM
02-11-2009 05:14 PM
02-12-2009 04:21 AM
02-12-2009 04:42 AM
companyhome.createNode("Sites", "{http://www.alfresco.org/model/site/1.0}sites")
(NOTE: untested!)02-12-2009 08:53 AM
companyhome.createNode("sites", "{http://www.alfresco.org/model/site/1.0}sites");
var sitesNode = companyhome.childByNamePath("sites");
if (sitesNode != null) {
if (sitesNode.addAspect("{http://www.alfresco.org/model/application/1.0}uifacets"))
{
… some logging
}
}
to get a result that resembles as closely as possible that node which was created in a de-novo setup (I used the node browser to inspect both). Then I adjusted the accessrights as you suggested.Failed to execute script '/org/alfresco/repository/site/sites.post.json.js (in classpath store file:/data/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': No root sites folder exists
Node Identifier
Primary Path: /{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1....
Reference: workspace://SpacesStore/d28a857e-632f-4732-865b-f3101c3be353
Type: {http://www.alfresco.org/model/site/1.0}sites
Parent: workspace://SpacesStore/a6174087-f439-42af-b6d3-d8e5b61c4000
Properties
Name Value Property Type Value Type Residual
{http://www.alfresco.org/model/application/1.0}icon space-icon-default {http://www.alfresco.org/model/dictionary/1.0}text false
{http://www.alfresco.org/model/content/1.0}name sites {http://www.alfresco.org/model/dictionary/1.0}text false
{http://www.alfresco.org/model/system/1.0}node-dbid 3741 {http://www.alfresco.org/model/dictionary/1.0}long false
{http://www.alfresco.org/model/system/1.0}store-identifier SpacesStore {http://www.alfresco.org/model/dictionary/1.0}text false
{http://www.alfresco.org/model/content/1.0}title Sites {http://www.alfresco.org/model/dictionary/1.0}mltext false
{http://www.alfresco.org/model/system/1.0}node-uuid d28a857e-632f-4732-865b-f3101c3be353 {http://www.alfresco.org/model/dictionary/1.0}text false
{http://www.alfresco.org/model/content/1.0}modified Thu Feb 12 13:50:05 CET 2009 {http://www.alfresco.org/model/dictionary/1.0}datetime false
{http://www.alfresco.org/model/content/1.0}created Thu Feb 12 13:14:15 CET 2009 {http://www.alfresco.org/model/dictionary/1.0}datetime false
{http://www.alfresco.org/model/system/1.0}store-protocol workspace {http://www.alfresco.org/model/dictionary/1.0}text false
{http://www.alfresco.org/model/content/1.0}description Site Collaboration Spaces {http://www.alfresco.org/model/dictionary/1.0}mltext false
{http://www.alfresco.org/model/content/1.0}creator admin {http://www.alfresco.org/model/dictionary/1.0}text false
{http://www.alfresco.org/model/content/1.0}modifier admin {http://www.alfresco.org/model/dictionary/1.0}text false
Aspects
{http://www.alfresco.org/model/application/1.0}uifacets
{http://www.alfresco.org/model/content/1.0}auditable
{http://www.alfresco.org/model/system/1.0}referenceable
Permissions
Inherit: true
Assigned Permission To Authority Access
Consumer GROUP_EVERYONE ALLOWED
Contributor GROUP_EVERYONE ALLOWED
Store Permission To Authority Access
All <No Mask> All Allowed
02-15-2009 05:39 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.