Quantcast
Viewing all articles
Browse latest Browse all 2504

Accessing custom fields via SOAP (12 Comments)

Topic by James Whitehouse

Content

I performed a GET for incidents based on the sample code described in the GET documentation, but it does not return the custom fields.

http://community.rightnow.com/developer/fileexchange/Connect_Web_Services_for_SOAP_August_2012/Content/Web%20Service%20API/Operations/Get.htm

The documentation for Object Model Introduction indicates that custom fields are only returned when specified, but it does not indicate how to specify their return:

http://community.rightnow.com/developer/fileexchange/Connect_Web_Services_for_SOAP_August_2012/Content/Web%20Service%20API/Object%20Model/Object%20Model%20Introduction.htm

Connect Web Services exposes custom fields in a similar manner to all other object properties. As custom fields can be organized and deployed in packages, the first layer of the CustomFields property on objects will represent the package details for which the custom field is defined and deployed. Within each of these properties is a list of all the individual custom field properties. Custom fields are returned only when specified during a Get operation. Since the type of the custom field is not known at compile time, the representation of each of the custom fields supported is done through the use of GenericField objects.

Any suggestions on how to get custom fields via the SOAP APIs?

Thanks
James

 

Version

Feb 2012

Viewing all articles
Browse latest Browse all 2504

Trending Articles