Quantcast
Viewing all articles
Browse latest Browse all 2504

Label representation for a custom field of type Menu(Flat) - Option List (1 Comment)

Topic by Paul Barto

Content

I've been working with the RN Connect Desktop Integration (Javascript) document and exploring the possibilities.

The document describes how to gain access to a custom field on a base object such as a Contact. I have tested this and it works as advertised.

The document also describes how to extract the label value for a field such as the Contact's AddrProvId by calling the GetNameValues method and loading and iterating through the XML document and extracting the matching id's  "Name" node. I've found that this works as well. The contact's AddrProvId property is described in the documentation as a complex type = Menu (Flat) and that it has/is an 'Option List'.

I've created a custom field on the Contact object whose data type is as Menu (I assume it's Menu(Flat) - i.e. the same type as the AddrProvId property). If I define a custom field named "my_field" on the Contact, I can get the custom field's id by calling window.external.Contact.GetCumstomeFieldByName("c$my_field");

However I can not seem to get XML document containing the item id and name values for the custom field using the same GetNameValues method that worked previously on the contact's AddrProvId property. I'm using the same name to attempt to access the list as described above - "c$my_field".

Is it possible to do what I am attempting? If so, am I possibly referencing the list name incorrectly (I'm not sure as the documentation does not cover this)?

Any help or insight regarding this topic would be appreciated.

 

 

 

 

 

Version

Feb 2012

Viewing all articles
Browse latest Browse all 2504

Trending Articles