Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello everyone,
I have created a custom data utilities class followed the steps in guide.
But I can't get work to map my class to an attribute. It is not clear in guide(perhaps not for everyone) on how to get attribute ID of an attribute and
how to add with .xconf file. Please someone help me in this.
And also can I able to populate values in dropdown list attribute based on value of previous attribute?
Thanks,
Hi.
You should add
<Service name="com.ptc.core.components.descriptor.DataUtility" targetFile="codebase/service.properties">
<Option serviceClass="YourDataUtilityClass"
requestor="java.lang.Object"
selector="YourAttributeInternalName"
cardinality="duplicate"/>
</Service>
to site.xconf file
and then run
xconfmanager -p
command in windchill shell.
Thanks that worked.Any suggestions for second part of my question.?