FORUMS


Discussion about Intalio|BPP Community Edition.


Back to Intalio|BPP 6.0 beta (0 viewing) 
Go to bottom Favoured: 0
TOPIC: XML Mapping Utility in Intalio|AJAX
Jun 22, 2009 10:49 am
liu.zhengyang (User)
45 posts
Senior Boarder

Karma: 3  
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.
File Attachment:
File Name: combo-7e7bda0ab81309249b44dfc4e205ea52.zip
File Size: 6074
 
  The administrator has disabled public write access.
Jun 22, 2009 4:55 pm
Antoine (Admin)
2755 posts
Admin

Karma: 58  
Hi,

this type of advanced scenario is not supported yet. You will get more help by asking questions on the GI forum.

Thanks,

Antoine
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Top Posters

Last 30 days

  • yodjeu.ntemde.leopold.camille (21)
  • Konstantin.Melnik (8)
  • himar.rodriguez (8)
  • amrrao1975 (6)
  • rakesh.db (6)
  • jaime.penafiel (5)
  • andre.van.der.ark (5)
  • andreas.boehm (5)
  • blue.moon (5)
  • estebanf (4)

All time

  • Antoine (2755)
  • Shivanand (1194)
  • cshekhar (933)
  • psq (797)
  • metabyte (415)
  • jag (393)
  • dfrench (367)
  • arnaud (329)
  • jalateras (325)
  • talita.pezzi (261)

Show last 4 hrs - 12 hrs - 24 hrs

Copyright © Intalio, 1999-2010.