Skip to main content
10-Marble
December 21, 2021
Question

Change the Internal Name of the Attributes

  • December 21, 2021
  • 12 replies
  • 3608 views

Hi,

 

We've created and used several attributes in CAD, and now we'd like to modify the internal name, but it's graded out. If there is a way to change the internal name of the attributes, please advise.

12 replies

23-Emerald III
December 21, 2021

Probably inside the database with SQL this may be possible.

 

But WHY?

These names are only internal to the system and you can change the Display Name to something understandable to your users.

 

10-Marble
December 21, 2021

Ben,

 

But we've created a Drawing template with some of the attributes, So in the template, we need to map the attribute with the internal name,

 

Users need to change the internal name 

 

for example:

Display name: Colour 1 and Colour 2

Internal name: Colour1 and Colour2

 

But the user needs to change the Colour_1 instead of colour1

 

23-Emerald III
December 21, 2021

Map the attributes in Windchill to Creo Parameters and then use the parameters in your drawing templates.

That is how I have done it for years.

My users never see the internal names.

Looking at my attributes I see where I misspelled an internal name, but the users only see the correct Display Name.

23-Emerald III
December 21, 2021

Do they need to change the attribute/parameter name or just the value assigned to the parameter?

10-Marble
December 24, 2021

Hi Ben,

 

We like to change the internal/Parameter name of the attribute,

Not a value of it.

23-Emerald III
December 24, 2021

These changes to the internal name should only be done by the system admin and not by end users on any frequent basis. Once set up, they should require little administration of the internal name.

olivierlp
Community Manager
January 3, 2022
Status changed to: Clarification Needed

Hi @NG_9451104 

Thank you for publishing your idea. I just moved it from its initial location to this Windchill idea board where it will receive more attention. Early December 2021, we started a new process to published Windchill ideas, by which we ask more information up front. 

 

See below the questions that I am asking you to answer. Please let us know within the next two weeks.

1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
2. What product & version are you currently running?
3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.
4. What is the use case for your organization?
5. What business value would your suggestion represent for your organization?

Olivier
23-Emerald III
January 18, 2022

I think a simple CS article with the SQL commands to rename the internal attribute name would be sufficient. I do NOT see this as being something that should be done frequently. In my case, I did not catch a misspelled internal name and I would like to correct it.

 

olivierlp
Community Manager
January 20, 2022

Hello NG_9451104,
We are following up on our request for additional information on your idea. In the absence of further comments from you, we are archiving your idea. You still have the option to post a new idea with all the details required.
Thank you.

Olivier
18-Opal
January 25, 2022

The internal name of an attribute can be changed with a simple database edit.

In the example below the original internal name, AuditRecord, has been changed to AUDIT_RECORD 

 

NOTE: Windchill restart after the database edit is required to take affect.

 

Before

d_graham_0-1643124220066.png

After

d_graham_1-1643124370123.png

 

23-Emerald III
January 25, 2022

What table is the information stored in?

 

16-Pearl
January 25, 2022

 Another option for you could be to use PTCs attribute utility, create a new attribute and the utility can move the old attribute onto it, effectively renaming it and keeping the old one which you can delete later. Seems less risky, there’s definitely some attribute internal names which would cause major failures if they were just changed.

http://support.ptc.com/help/windchill/wc110_hc/whc_en/#page/Windchill_Help_Center%2FTypeAttrChp_MoveUtility.html%23