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.