![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: change attribute Topic Summary: Created On: 7-Dec-2006 14:40 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||||
Hello DXLiens,
does anybody know how to change the name of an attribute in all Modules of a Folder? cheers, Mussie |
|||||
![]() |
|||||
![]() |
|||||
You could use runAll.dxl to select an number of modules in your project you want to run a script on.
This means you don't have to change your code that acts upon the current module. However, when you change the name of an attribute, any views containing columns showing that attribute will disappear from the views. Attached is a library function that give you functionality to rename an attribute and modify all affected views appropriately...#include the file...the usage of the function is below.
|
|||||
![]() |
|||||
![]() |
|||||
Oh...for anyone who needs it, I've a version that provides the functionality interactively via a dialog box.
|
|||||
![]() |
|||||
![]() |
|||||
Thanks Antonio,
but I already did it with my own script and yes I had to insert the column into the views but I had another script doing that for me! Here are the two scripts! Best regards, Mussie
|
|||||
![]() |
|||||
![]() |
|||||
Ahm could you post the runAll.dxl script again couse I can't open it for some reason I don't know! |
|||||
![]() |
|||||
![]() |
|||||
It is a link to another thread...the most up-to-date version is in the last post of that thread.
Ah...that link isn't working...try this one Run All Thread Edited: 12-Dec-2006 at 10:53 by Antonio Norkus |
|||||
![]() |
|||||
![]() |
|||||
Hi Antonio,
I tried your renameAttribute.dxl script and in the first dialogbox there should be a list with the attributes one can choose to change but in my case this is empty! I started the script in a Module and I don't have any clue why it won't work? Mussie |
|||||
![]() |
Telelogic DOORS
» DXL Exchange
»
change attribute
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.