Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Under the Type and Attribute management Manage Types screen, there are many data types defined. When one is selected, it lists a lot of system defined attributes and allows you to create new attributes. My first question is: How do you add a new attribute that has already been added under the Manage Reusable Attributes tab?
The second part of this is concerning Layouts. There are a number of layouts listed with default attributes listed. I can added a new 'table' to the layout with default attributes, but how do I add the added attributes from the Manager Reusable Attributes tab?
Question three is: How do you specify which layout screen is used where with the View Information screens of an object? Between different Types, the default list of layout names are different.
Looking on my existing production system, when I look at the CAD Part object type and open the various layouts, none of them have the information that is displayed in the same order as the View Information for a CAD object.
This is very confusing and I hope someone can shed some light on what is going on or at least point me to some intelligent documentation.
Windchill 111.0 m030 CPS08
Solved! Go to Solution.
This is what I had written up for my own instructions a few years ago.
Create Hyperlinks |
(String data type attributes, only) Specifies whether text representing a URL in a String attribute is to be displayed as a hyperlink. If Yes, text such as “http://www.ptc.com” in a String attribute is displayed as hyperlinks. If this property is not specified, the value of the Create Hyperlinks preference is used. |
Default Value Display Mode |
Configures how the default value, if any, is populated in the input field for the attribute. If not specified, the value of the Default Value Display Mode preference is used. Possible values: • None—The default value is not used to populate the input field. • Prepopulate—The default value, if defined, is set in the input field. • Display a Default Value Button—A button displays after the input field. A user can click the button to add the default value to the input field. |
Input Field Type |
(String data type, only) Specified whether the input field for the attribute is to be single line or multiple lines. This setting overrides the String Length Threshold For Multiple Line Input property Possible values: • Single Line— a text box is rendered for this attribute. • Multiple Lines—a text area is rendered for this attribute. |
Selection List Style |
Specifies whether the legal values for the attribute are to be displayed as a drop-down list or as a set of radio buttons. If not specified, the value of the Selection List Style preference is used. Possible values: • Drop Down—the legal values display in a drop-down list, where the user can select a single option. • Radio Buttons—the legal values display as a set of radio buttons, where the user can select a single option. This property applies only when the attribute has a Legal Value List or Enumerated Value List constraint applied to it. |
String Length Threshold For Multiple Line Input |
(String data type attributes, only) Specifies the threshold for rendering a multi-line input field for a String attribute. The value can be any positive number. If the maximum length of the attribute in characters exceeds this value, a multi-line input field is displayed for the value in object creation or object edit operations. If not specified, the value of the String Length Threshold For Multiple Line Input preference is used. |
Just to make sure, are you logged in as site admin? You can't do some tasks as org admin.
Yes, wcadmin account login.
Working in the organization level for flow down to libraries and products.
This is what I had written up for my own instructions a few years ago.
Create Hyperlinks |
(String data type attributes, only) Specifies whether text representing a URL in a String attribute is to be displayed as a hyperlink. If Yes, text such as “http://www.ptc.com” in a String attribute is displayed as hyperlinks. If this property is not specified, the value of the Create Hyperlinks preference is used. |
Default Value Display Mode |
Configures how the default value, if any, is populated in the input field for the attribute. If not specified, the value of the Default Value Display Mode preference is used. Possible values: • None—The default value is not used to populate the input field. • Prepopulate—The default value, if defined, is set in the input field. • Display a Default Value Button—A button displays after the input field. A user can click the button to add the default value to the input field. |
Input Field Type |
(String data type, only) Specified whether the input field for the attribute is to be single line or multiple lines. This setting overrides the String Length Threshold For Multiple Line Input property Possible values: • Single Line— a text box is rendered for this attribute. • Multiple Lines—a text area is rendered for this attribute. |
Selection List Style |
Specifies whether the legal values for the attribute are to be displayed as a drop-down list or as a set of radio buttons. If not specified, the value of the Selection List Style preference is used. Possible values: • Drop Down—the legal values display in a drop-down list, where the user can select a single option. • Radio Buttons—the legal values display as a set of radio buttons, where the user can select a single option. This property applies only when the attribute has a Legal Value List or Enumerated Value List constraint applied to it. |
String Length Threshold For Multiple Line Input |
(String data type attributes, only) Specifies the threshold for rendering a multi-line input field for a String attribute. The value can be any positive number. If the maximum length of the attribute in characters exceeds this value, a multi-line input field is displayed for the value in object creation or object edit operations. If not specified, the value of the String Length Threshold For Multiple Line Input preference is used. |
Steve nailed the technical implementation. Just some additional business configuration notes...
Q: How do you add a new attribute that has already been added under the Manage Reusable Attributes tab?
A: Two attributes can have the same display name but they cannot have the same internal name. It is possible to reuse a Reusable Attribute on a different object type than where it is currently in use. If the object type where you are trying to add a Global attribute is already using this Reusable Attribute (internal name), then you need to create a new Reusable Attribute for use with the new type attribute. Wow this is confusing...
Q: How do I add the added attributes from the Manager Reusable Attributes tab?
A: Procedurally, you create a Reusable (Global) Attribute and then reference is when create a type specific Global Attribute. At that point, the new type specific attribute will be pre-populated in some of the layouts. You just need to drag-n-drop it in or out as desired.
Q: How do you specify which layout screen is used where with the View Information screens of an object?
A: PTC pre-defines which pages are tied to each layout. It is possible to define new layouts and tie them to new pages through Windchill customization.
The OOTB pages can vary by object type because different objects have different pages. Also, not all available layouts are used. For example, Phone and Tablet Info layouts are for those form factors and part of the deprecated mobile module. There is no documented mapping that I am aware of but the naming can guide you in a direction. Also, the create and information pages are the most commonly modified: