11-08-2010 10:06 AM
String contentType = "{customNamespace}customLocalName";
CMLCreate create = new CMLCreate("1", parentReference, null, null, null, contentType, properties);
11-12-2010 09:35 AM
Action action = new Action();
action.setActionName("specialise-type");
NamedValue[] actionParameters = new NamedValue[]{new NamedValue("type-name", false, "YOUR_CUSTOM_CONTENT_TYPE", null)};
action.setParameters(actionParameters);
WebServiceFactory.getActionService().executeActions(predicate, new Action[]{action});
Hope this helps.
11-15-2010 07:18 AM
12-25-2010 02:50 PM
You have to use the ActionService and you have to execute the specialise-type action with a parameter for the target type:Hi OpenPj and every body, as I know YOUR_CUSTOM_CONTENT_TYPE is the string value of variable, with name of this variable is type-name in our action. Am i right ?Hope this helps.
Action action = new Action();
action.setActionName("specialise-type");
NamedValue[] actionParameters = new NamedValue[]{new NamedValue("type-name", false, "YOUR_CUSTOM_CONTENT_TYPE", null)};
action.setParameters(actionParameters);
WebServiceFactory.getActionService().executeActions(predicate, new Action[]{action});
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.