Hi,
I'm trying to populate a combo box in an AJAX form. I plan to use RBACQueryService to populate the combo box, with the user name being
jsxid and the descriptive full name being
jsxtext.
Now I'm having two problems to achieve this:
1. The getUserProperties returns a dictionary, for example for user admin, it returns something like
| Code: : |
<rbac:getUserPropertiesResponse xmlns:rbac="http://tempo.intalio.org/security/RBACQueryService/">
<rbac:property>
<rbac:value>Admininistrator</rbac:value>
<rbac:name>fullName</rbac:name>
</rbac:property>
<rbac:property>
<rbac:value>admin@example.com</rbac:value>
<rbac:name>email</rbac:name>
</rbac:property>
</rbac:getUserPropertiesResponse>
|
How can I ignore the "email" and only get "fullName" ? Currently I map the whole response to a CDF document, the "property" node to a CDF record and the problem is I get the "email" field which I do not need.
2. When/If I solved problem 1, how can I make the mapping rule for getAuthorizedUsers to call getUserProperties automatically for every user node and then map the result to
jsxtext.
I've attached the GI project.
Any help would be appreciated. Thanks very much.