Need help in updating an object (Change) using updateObject method from BusinessObject Service

I have a cover page attribute under a change which is of cascading list type, i am trying to update that attribute value by using Agile OOTB webservice -> business object service. Could you please help me with sample request to prepare. the one which i see from webservices guide is showing only for text type fields but i have cascading list here. Your help is very much appreciated.

Add Comment
1 Answer(s)

AgileListEntryType listEntry = new AgileListEntryType();
SelectionType[] listSel = new SelectionType[1];
listSel[0] = new SelectionType();
listSel[0].setValue(“listvalue”);
listEntry.setSelection(listSel);

MessageElement mElement = new MessageElement(namespaceUri, “LISTNAME”);
mElement.addAttribute(namespaceUri, SchemaConstants.attributeId.getValue(), “LISTBASEID”);
mElement.addAttribute(XSIPREFIX, COMMONNAMESPACEURI, SchemaConstants.type.getValue(), “AgileListEntryType”);
mElement.setObjectValue(listEntry);

Agile Angel Answered on April 15, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.