I'm looking at the results of GetAttributes(), and there are a couple fields that I'm not clear about: edit_mask and multiple_values. I see that edit_mask is set to "None", "Date", or "-1". Multiple_values is set to either "Y" or "N". What do these fields represent in plain English?
I'm guessing that multiple_values indicates whether an attribute can be set multiple times, with different values, but if this were true, how can an additional value be set via the Web API for an attribute that has already been set?
Finally, what is the difference between id_value and desc_value for each AttributesOption? Which should I use when adding or updating an attribute via UpdateConstituentAttributes()?
Thanks,Bryan
Hi Bryan
This is from tessitura documentation for T_KEYWORD table. "Date types are 1-String, 2-Number, 3-Date. Edit Masks are Date, Alphanumeric, Dollar (use for all Currency types), Number, None. Edit mask of -1 means that the attribute value can't be edited."
Multivalue attributes add another attribute/value pair combination entry in the TX_CUST_KEYWORD table for the customer. When adding an additional attribute value you just need to call UpdateConstituentAttribute as many times as needed with the proper action parameter A,U,D.
The id_value is the value that should be used as the value for the attribute. The desc_value is the description of the value. For example a dropdown containing Name1 , Name2, Both . These are the desc_value the value you store in the database would be 1,2,3.
Hope this helps,
Jon
Thank you, Jon! You're always so helpful.