10-29-2013 04:47 PM
Predicate predicate = new Predicate(new Reference[]{refFils}, STORE, null);
NamedValue[] titledProps = new NamedValue[2];
titledProps[0] = Utils.createNamedValue(Constants.PROP_TITLE, name);
titledProps[1] = Utils.createNamedValue(Constants.PROP_DESCRIPTION, "Revue de projet - synthèse"+name);
CMLAddAspect addAspectTitled = new CMLAddAspect(Constants.ASPECT_TITLED, titledProps, predicate, "1");
CML cml3 = new CML();
UpdateResult[] result3 = repositoryService.update(cml3);
NamedValue[] inline=new NamedValue[1];
inline[0]=Utils.createNamedValue("editInline", "true");
CMLAddAspect addAspectInline=new CMLAddAspect("app:inlineeditable", inline, predicate, "1");
CML cml5 = new CML();
cml5.setAddAspect(new CMLAddAspect[] {addAspectInline});
UpdateResult[] result5 = repositoryService.update(cml5);
10-30-2013 02:32 PM
addAspectInline=new CMLAddAspect("{http://www.alfresco.org/model/application/1.0}inlineeditable", inline, predicate, "1");
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.