Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Graham Stradling, on Tuesday, December 20, 2005 9:50 AM

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.

 16-Dec-2005 14:56
User is offline View Users Profile Print this message


Graham Stradling

Posts: 67
Joined: 19-Sep-2002

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.
Report this to a Moderator Report this to a Moderator
 16-Dec-2005 16:47
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 16-Dec-2005 20:39
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

After setting you probably will need to save the user record.
Report this to a Moderator Report this to a Moderator
 20-Dec-2005 09:48
User is offline View Users Profile Print this message


Graham Stradling

Posts: 67
Joined: 19-Sep-2002

Answer 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.



-------------------------
Graham Stradling,

Alcatel-Lucent.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.