cancel
Showing results for 
Search instead for 
Did you mean: 

Inline editing through web services

magno
Champ in-the-making
Champ in-the-making
Hi,
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); 
                       
                      //aspects 
                       
                      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.
thanks!
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
…and my english isn't very good, sorry.
If you prefer, we've got Spanish speakers on our Spanish forums: http://forums.alfresco.com/es/

Thanks,
Mike

magno
Champ in-the-making
Champ in-the-making
…and my english isn't very good, sorry.
If you prefer, we've got Spanish speakers on our Spanish forums: http://forums.alfresco.com/es/

Thanks,
Mike

Thanks Mike,
I'm user of that forums, but nobody has an answers for me Smiley Very Happy
This way, I practice my english Smiley Surprisedops: