content management system - Creating a site in alfresco using open cmis extension -
i want create alfresco site using open cmis extension. researched , found object type 'f:st:sites' , properties 'st:sitevisibility' , 'st:sitepreset'. not sure using can create site in alfresco , not able find method creating site. like
map<string, object> properties = new hashmap<string, object>(); properties.put(propertyids.name, "mysitename"); properties.put(propertyids.object_type_id, "f:st:sites"); properties.put("cmis:path", "/sites"); . . properties.put("cmis:createdby", date); properties.put("st:sitevisibility", scriptsiteservice.public_site); // todo: add method creating site session object
please reply possible.
also, if there other way create site other apache's http api, please share.
thanks, smita
as long don't post use case, yourfull code & explain in in detail tools you're using (apache chemistry/opencmis? apache's http api?) won't answer get...
a site sth. extended folder & there opportunity create such folder using st:site type & adding relevant properties, but: afaik won't able use site via alfresco share because surf objects not created if create site directly in repo layer (explained here (but little bit outdated if use alfresco 4): http://ecmstuff.blogspot.de/2011/02/creating-alfresco-share-sites-with.html).
Comments
Post a Comment