有人可以帮助我使用eTapestry API。我使用applyDefinedValues方法。文档在这里:https://www.blackbaudhq.com/files/etapestry/api/methods/applyDefinedValues.html
更新定义为text,int或其他值的字段时,一切正常,但我不知道如何更新多选类型。
我尝试发送这样的数据:
$dv1["value"] = array('Eclipses','Electional','Estoteric/Spritual/Occult');
但系统更新为新值'数组'?
eTapestry返回值如下所示:
[18] => Array
(
[dataType] => 0
[displayType] => 2
[fieldName] => My Interests
[fieldRef] => 249.0.39428157
[value] => Electional
[valueRef] => 249.0.39782431
)
[19] => Array
(
[dataType] => 0
[displayType] => 2
[fieldName] => My Interests
[fieldRef] => 249.0.39428157
[value] => Estoteric/Spritual/Occult
[valueRef] => 249.0.39782420
)
........
[21] => Array
(
[dataType] => 0
[displayType] => 2
[fieldName] => My Interests
[fieldRef] => 249.0.39428157
[value] => Archetypal Cosmology
[valueRef] => 249.0.39782417