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

Retrieve Parent/Child Relationships and Fields Using SOAP?

$
0
0

Topic by Christopher Farmer

Hi,

We have a requirement to develop an add-in which is able to run through a workspace of almost any type (for both standard and custom objects), which will allow a user to select a set of fields from the current record or any other tables that have a relationship to the open record. These fields can then be sent to a set of email addresses.

For example, if the add-in was run through the Incident workspace, it should allow the user to select fields from Incident, Contact and Organization.

By "relationship", I mean an intrinsic relationship (such as Incident - Contact) or one defined through the Object Designer (parent/child).

I've discovered the GetaMetaDataForClass method and have spent some time testing this and trying to get my head around the objects that it uses and returns, but I'm having real trouble! There are an awful lot of sub objects and fields within the MetaDataClass object and I'm just not sure which ones I'll need to navigate in order to provide access to the related tables and their corresponding fields.

Has anyone perhaps had a similar requirement before? Or does anyone have experience with the GetMetaDataForClass method and could nudge me in the right direction?

Any help/suggestions/ideas would be greatly appreciated.

Many thanks.


Viewing all articles
Browse latest Browse all 2504

Trending Articles