04-11-2009 06:14 AM
04-14-2009 10:10 AM
04-15-2009 01:55 PM
04-16-2009 03:40 AM
// Start the session
AuthenticationUtils.startSession("admin", "admin");
try
{
// Create a reference to the parent where we want to create content
Store storeRef = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
ParentReference companyHomeParent = new ParentReference(storeRef, null, "/app:company_home", Constants.ASSOC_CONTAINS, null);
// Assign name
String name = "Web Services sample (" + System.currentTimeMillis() + ")";
companyHomeParent.setChildName("cm:" + name);
// Construct CML statement to create content node
// Note: Assign "1" as a local id, so we can refer to it in subsequent
// CML statements within the same CML block
NamedValue[] contentProps = new NamedValue[1];
contentProps[0] = Utils.createNamedValue(Constants.PROP_NAME, name);
CMLCreate create = new CMLCreate("1", companyHomeParent, null, null, null, Constants.TYPE_CONTENT, contentProps);
04-16-2009 01:36 PM
"/app:company_home/app:user_homes/sys:"+userDTO.getUserId()
04-20-2009 01:00 PM
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.