This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

APPLICATION - PRODUCT ENGINEERING - Problem while setting values for Class specific properties

aravinth_r - Wednesday, February 29, 2012 4:47 AM:

Hello,

I have classified the OOTB Component class into a lot of sub classes namely Capacitor, Resistor, Diode etc. In the Part ItemType, I added new properties Mount type, Package, Polarity and Type and made them applicable only to Capacitor. In the Part ItemType Views Tab, I added the Part Form once more and made the Type as Add and chose the classification as Component / Capacitor. Then I edited the form Part and added the Capacitor specific properties to the Form Part. Now when i try to create a new Part by choosing the class as Capacitor, I get a error message on the Form as follows:

Resource with key = "'class_spec_field.Part_Capacitor'" is not found.

I have attached the screenshot of the same. Why is this message shown? Please let me know and how to solve this. Thanks in advance!

 

 

 



aponceot - Wednesday, February 29, 2012 8:44 AM:

This is shown because Aras supports localization and for each class you have to provide a localized label.

You can complete the resource file : InnovatorClientSolutionsPLMxmlui_resources.xml and add resources for your specific class :

<!-- Show Class Specific Fields Part and Document Form    -->

............

<resource key="class_spec_field. Part_Capacitor " value=" Part Capacitor "/>

<!-- Show Class Specific Fields Part and Document Form    -->



aravinth_r - Thursday, March 1, 2012 8:22 AM:

Thanks Anthony. It worked :)



hari.varadahrajan - Wednesday, August 14, 2013 8:13 AM:

Hi,

It did not work for me. But the

original message is gone.

I have added this line in that XML file.

<resource key="class_spec_field.Part_INDPart" value="INDPart Properties"/>

Now in the label for the custom property on top of the field, it is just displaying the text in blue font  "INDPart Properties".

 

Iam sure that Iam missing something. please let me know.

Thanks

Hari