Classification Specific Properties

Both Part and Document types have initial classification structures. In this application, the normal Aras Innovator classification display has been altered.  Normally, a Parameters tab displays all the class-specific properties in an Item’s form.  The Parameter tab has been disabled.  Instead, these class-specific properties are dynamically displayed on the Item form.

Parts class structure can be changed and  expanded to reflect customer needs. Currently, the class Part has four subclasses - Component, Assembly, Material, and Software. You can add subclasses, change them, add a new level of subclasses, and more importantly, add class specific properties that would apply only to the specified class; including a lifecycle.  Here are a few examples.

Let's say that for parts classified as software, you want to add a property called Build Number. Here is what you would do.

Adding a class specific property

  1. Click the Nav button . The TOC appears.

  2. Click Administration>ItemTypes. The following menu appears:

  1. Click Search ItemTypes, search for a Part, and open the Part for editing.

  2. Add a new property, name it Build Number.


  1. Click on the Class Path cell of the new property to open the class path form. Select Software and click the green arrow .

  2. Double-click the Data Type field and click the down arrow to specify the Data Type for the property.

  3. Save the Part.

  4. In the TOC, select Administration>Forms, search for the Part Form, and open the Part form for editing.

  5. Click on the New Text icon  from the toolbar. A new text field is added to the Part Fields list.


  6. Enter Build Number as the Part Field Name and the Label name in the Field Label tab.

  7. Place the new field on the form.

  8. Select the Field Physical tab. Uncheck the Visible check box. This property will automatically become visible when a Part classified as Software is created, but will remain invisible for all others.

  9. Save and unlock the form.

You might want to edit the class structure first, or perhaps add new classes, and then add properties to the newly defined classes.

Adding a new class to the class path

  1. Click Administration>ItemTypes, search for Part, and click  to open it.

  2. Click the  button. The class structure form appears.

  3. Right click any node to add subordinates.

  4. Once done, save the class structure, and save the Part ItemType before adding properties.

  5. To add class specific properties for newly created classes, see above.

If you add a subordinate class, you may also wish to add a class specific border to the form to identify to the user which class is responsible for the additional properties. For example, if the Raw class had two class-specific properties named "Length" and "Raw" your class structure would look like this:

Now, you could make your form look like this:

Adding a class specific border to a form

  1. Select Administration>Forms from the TOC.The Form menu appears:

  2. Click Search Forms. A list of existing forms appears in the grid.

  3. Search for the Part form and open it for editing.

  4. Search for parent class border, in our case, material_border.

  5. Go to the Field Physical tab, and check the Visible box. The border should appear on the form. We will come back later and turn it off, but for now it's easier to position the subclass border if we can see the parent border.

  6. Go to the Field Type tab and copy the HTML code of the material border.

  7. Click on the New HTML  button to create a new HTML field.

  8. Under the Field Type tab, paste the copied HTML code from material_border.

  9. Name the field classname_border, which in our case would be raw_border.

  10. Position the border where desired on the form.

  11. Edit the HTML code to give it a different label if desired, and different height, if desired. In the example above, the final HTML code looked like this:

 

  1. Under Field Label, make sure that no label is set.

  2. Once the border looks good, go to Field Physical and uncheck the Visible box.

  3. Remember to uncheck the Visible box in the parent class border.

  4. Save, Unclaim and Close the form.

 

©2023 Aras Corporation - All Rights Reserved