Customized Tree Color (ManageColor)

An opening ID is an entry point used to customize business logic. This function enables you to customize references and representation references (but not instances) in Product Finder Classic, System Finder, or Manufacturing Finder. The displayed nodes of a tree will have tree color driven by rules based on attributes of objects.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked:

  • when the specification tree is displayed for targeted types in Product Finder Classic, System Finder, or Manufacturing Finder.

This opening ID is used to customize:

  • tree color of the specification tree in Product Finder Classic, System Finder, or Manufacturing Finder.

The table below provides you with information related to the definition of the Opening ID.

PLM Opening ID: ManageColor
Customization intent: pure computation, no data change
Execution context: client side computation

Input Objects

Input objects must be of the following types:

  • ThisObject
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read/Write Comments
MyColor String Write To be written by EKL script, to specify tree color.

Sample

The following sample describes a tree where displayed nodes will have tree color driven by rules based on attributes. Once the usage attribute of the context is confirmed to be Technological Package, the specified color can be applied.

Parameters->SetAttributeString("MyColor","0|255|255")