We haven't yet used (new for 10.x) enumerated lists of attribute values, but are preparing to do so. Some of our attributes have very long lists of possible values.
There is no method that we can see to transfer values developed in a test system to production. Has anyone found a way to do this - possible via a Windchill shell command? Note: one can easily capture the values via a query builder report and so typing is not required when adding to production, but lots of copy/paste is still needed.
Tech support saysexport / import thruany meansis not supported as far as they know.
Could you attach the .qml report you mention above? I'm able to import and export my enumerations without issue, but I can't quite figure out how to generate a report/list showing what enumerations are actually loaded into the system.
Attached is the query I use. I prefer to run directly over report manager. I have a resource limited dbuser in production db to run sqls.
You can export and import global enumerations. I'm not sure what happens if the enumeration already exists:
Create(DefinitionExporter.xml) for a Global Enumeration:
<!DOCTYPE NmLoader SYSTEM "standardX20.dtd">
I know this is an old topic but I kept coming back to it. My classification administrator was essentially looking for a Where Used report for Enumerations. Since my research kept bringing me back to this discussion, I figure I'd post my findings here.
It took me awhile to find the right tree to bark up and it wasn't until I started looking closely at the Types and Attributes export where I ran across the right class name that'd help me in reporting; com.ptc.core.lwc.server.LWCEnumerationBasedConstraint. After digging into that we managed to create a report that centralized on this class (basically a link class between LWCEnumerationDefinition or master and LWCIBAAttDefinition) and gave us the name of the Enumeration (LWCMasterEnumerationDefinition), the name of the Attribute the enumeration is used as a constraint in (LWCIBAAttDefinition), and the context in which that attribute can be found (from LWCIBAAttDefinition context ref, it can be either a LWCTypeDefinition <-Type or a LWCStructEnumAttTemplate <-Classification). The result is "Enumeration", "Attribute", "Context". Attached is the QML.