AnsweredAssumed Answered

Inline editing through web services

Question asked by magno on Jul 6, 2010
Latest reply on Jul 7, 2010 by magno
I'm working with liferay 6.0 and alfresco 3.3g. I0m trying to make a portlet to create document from liferay, using the alfresco database and web services…
I've created the document, but I want it to be inline editable, but I don't find what I've to activate to do that.
I think that I've to make an aspect or a property, but i'm not sure…
I tried this:
                                     NamedValue[] contentProps = new NamedValue[2];  
                      contentProps[0] = Utils.createNamedValue(Constants.PROP_NAME, name);  
                     contentProps[1] = Utils.createNamedValue("editInline", "true");  
                      CMLCreate create = new CMLCreate("1", companyHomeParent, null, null, null, Constants.TYPE_CONTENT, contentProps); 
                      NamedValue[] titledProps = new NamedValue[2]; 
                      titledProps[0] = Utils.createNamedValue(Constants.PROP_TITLE, titulo); 
                      titledProps[1] = Utils.createNamedValue(Constants.PROP_DESCRIPTION, descripcion); 
                      CMLAddAspect addAspect = new CMLAddAspect(Constants.ASPECT_TITLED, titledProps, null, "1"); 
That don't make anything, there is no error but when I go to alfresco to comprobate it, the document hasn't the property inline edition off
I'm totally new at all, and my english isn't very good, sorry. If someone can say me anything, all will be good.