Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Retrieving Custom Fields Meta Data using WSDL

$
0
0

Topic by Christopher Farmer

Hi,

I'm trying to retrieve meta data about custom fields attached to standard objects using the WSDL API, but I can't seem to work out how to do it. I've found the documentation around this subject to be rather sparse.

At the moment I'm using:

            string[] classNames = new string[] { "Contact" };
            string[] metaDataLink = new string[] { "ContactCustomFields.c.ContactCustomFieldsc" };

            MetaDataClass[] _metaDataClass = RightNowWebService.Instance.GetMetaDataForClass(hdr, classNames, null, metaDataLink);

This just returns me all of the meta data relating to the Contact table, instead of the meta data about the custom fields.

The documentation talks about following the relationship links between the Contact table and the "ContactCustomFieldsc" object, which I'm trying to do in my code, but I'm not exactly sure about the syntax and I can't find any examples.

Can anyone help?

Many thanks.


Viewing all articles
Browse latest Browse all 2504

Trending Articles