![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Updating User Full Name via DXL Topic Summary: DOORS 8 undocumented/incomplete feature? Created On: 16-Dec-2005 14:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thanks for the help folks, I was already using a db admin account, but I was missing the saveUserRecord, also I should have been using setUser rather then just set. I've attached my final code, basically the task was just to pass user name to full name and then switch username to match the systemLoginName. | |
![]() |
|
DOORS 8 has introduced an additional user property called Full Name. The DXL manual hasn't been updated to cover this field, but taking some guesses I can successfully access this to read using the following DXL:-
fname = myUser.fullName print fname "\n" (myUser is a variable of type User) So I would expect to be able to set this using a variant of the set command as used for setting user properties e.g.:- set (myUser,"fullName",uname) (uname is a string variable) Unfortunately this fails to populate the field (although no DXL errors are generated). Any ideas on whether I can automate setting this field? ------------------------- Graham Stradling, Alcatel-Lucent. |
|
![]() |
|
![]() |
|
Looks like the Full Name field can only be populated by DB admins. Perhaps its possible it can only be populated when you turn the DOORS name into a User handle rather than using the find() command, which is used by users to get their own handle.
- louie |
|
![]() |
|
![]() |
|
After setting you probably will need to save the user record.
|
|
![]() |
|
![]() |
|
Thanks for the help folks, I was already using a db admin account, but I was missing the saveUserRecord, also I should have been using setUser rather then just set.
I've attached my final code, basically the task was just to pass user name to full name and then switch username to match the systemLoginName. ------------------------- Graham Stradling, Alcatel-Lucent. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Updating User Full Name via DXL
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.