![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Function to add database items to Favorites menu Topic Summary: Created On: 28-Jan-2007 21:37 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I did NOT this, so proceed at your own risk. See the 'configuration file access' section in General Language Facilities of the DXL manual. There exists a 'favorites.txt' file in the 'confUser' portion of the database. I added two favorites and the file looks like this: 00000014 DBPS_2007-Jan-11 000096e2 200 Series The long number is no doubt the 'unique id' of the folder that is a favorite, and the next line is the name. Thus, a single 'favorite' is composed of two lines in the file. You can open this file for editing and add a favorite with something that looks like this: Folder fld = folder handle of the folder you wish to add to favorites ConfString cs = confAppend("favorites.txt", confUser) cs << uniqueId(fld) "\n" cs << name(fld) "\n" close(cs) - Louie | |||
![]() |
|||
Is there a function that will allow you to add database items to a user's Favorites? I searched the DXL manual and didn't see anything, but then again the DXL manuals sometimes are missing information..cough .. cough.
Here is a picture of what I am talking about. Thanks.
------------------------- pete.kowalski(at)motorola.com |
|||
![]() |
|||
![]() |
|||
I did NOT this, so proceed at your own risk.
See the 'configuration file access' section in General Language Facilities of the DXL manual. There exists a 'favorites.txt' file in the 'confUser' portion of the database. I added two favorites and the file looks like this: 00000014 DBPS_2007-Jan-11 000096e2 200 Series The long number is no doubt the 'unique id' of the folder that is a favorite, and the next line is the name. Thus, a single 'favorite' is composed of two lines in the file. You can open this file for editing and add a favorite with something that looks like this: Folder fld = folder handle of the folder you wish to add to favorites ConfString cs = confAppend("favorites.txt", confUser) cs << uniqueId(fld) "\n" cs << name(fld) "\n" close(cs) - Louie |
|||
![]() |
|||
![]() |
|||
Louie,
Thanks for this suggestions. The thoughts of checking these files didn't even cross my mind. I am good at breaking stuff so wish me luck! ------------------------- pete.kowalski(at)motorola.com |
|||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.