Page 1 of 1

OKMPropertyGroups->setProperties

PostPosted:Fri Mar 08, 2013 3:38 pm
by olsonea
Quick question: setProperties method is defined as such: void setProperties(String token, String nodePath, String grpName, FormElementComplex[] properties).

Do I need to update the entire PropertyGroup, or can I update specific array elements, and leave out the ones that I don't care about? I really only want to update value, not height, type, etc.

Re: OKMPropertyGroups->setProperties

PostPosted:Sat Mar 09, 2013 10:44 am
by jllort
There's other method you should use called setPropertiesSimple ( Is available from ws too ) :
Code: Select all
Map<String,String> properties = new HashMap<String,String();
properties.put("some_property_key","some value");
OKMPropertyGroup.getInstance().setPropertiesSimple(token, docPath, groupName, properties);
Using this method you only update some values, not all.