Topic by Bruno Vasconcellos
Content
Hello Guys, okay?
I have a question about SOAP code.
I have a "Organization" custom attribute in the system called "Filial". This attribute is of type "Menu" in which it has a custom menu associated with it (CO.Filiais).
I would like to create / update (by XML/SOAP) multiple fields, and one of them is the attribute "Filial". How to update this field? I didn't found examples in SOAP documentation.
I know how to upgrade custom Fields, using "NAMED_ID", but returns the error for me:
"Could not find key property is Given: Filial
While processing GenericField C
While processing GenericFields [0]: c
While processing Organization-> CustomFields (rng_v1_2 :: GenericObject) "
Anyone know the syntax for this type of field?
Look :
<ns2:GenericFields dataType="NAMED_ID" name="Filial">
<ns2:DataValue>
<ns2:NamedIDValue><Name xmlns="urn:base.ws.rightnow.com/v1_2">São Paulo</Name></ns2:NamedIDValue>
</ns2:DataValue>
</ns2:GenericFields>
WHAT am I doing wrong?
Thank you very much.
Bruno Vasconcellos