When we request a member:
$query = new QueryData ( 'Party' );
$query->addCriteria ( new CriteriaData ( 'PartyId', CRITERIA_EQUAL, $imis_profile_id ) );
p>
We get back a set of properties in the AdditionalAttributes section of the object. For example:
-----------------
[AdditionalAttributes] => GenericPropertyDataCollection Object
(
[GenericProperty] => Array
(
[0] => GenericPropertyData Object
(
[Name] => ContactStatusCode
[Value] => A
)
-----------------
Is there a way within iMIS to specify that a value from a custom field (from the Certification table, or Name table for example) should be returned as an Additional Attribute?
Thank you,
-Dale John McGrew
GoLightly, Inc.
AdditionalAttributes
Hi Dale,
AdditionalAddributes only contain a few fields on a contact that do not already have a place in the Party data contract or somewhere else (group member, primary organization, etc.) In iMIS 15, the attributes are limited to: CustomerTypeDescription, CustomerTypeCode, IsMember, JoinDate, MajorKey, ParentPartyId and BillingCategory*. Is there a field on the Name table you are trying to access and cannot find?
For anything else, I recommend using the direct table access method, just like Adam has shown here: http://www.imiscommunity.com/ud_fields_in_soa. Although he shows a ud table in his example, this same method can be used to access any table in the database.
Your idea of specifiying that a specific field should be returned as an additional attribute is an interesting one and I will bring it up with our Soa aficionados.
Hope this gets you what you need.
Cheers,
Courtney Robertson
* Coming in the 15.2 release