Way to attach custom field values to AdditionalAttributes?

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

Small update

Just wanted to note BillingCategory is not an AdditionalAttribute in the 15.1.3 release.  This is an attribute we are adding in the 15.2 release of iMIS.  (I updated the comment above.)

Single retrieve profile call

Thank you Courtney! We can make a seperate Web Services call to get the specific information we need, we were just hoping to be able to have a single "retrieve profile" call by attaching the extra fields to the Member object.

All the best,

-Dale