Associating a Type to a User Feature

You can associate a type to a user feature if you want to manipulate user feature attributes through the Enterprise Knowledge Language (EKL), to search user feature instances using this type, or to write expert rules based on this type.

Notes:
  • Deploy an app containing these types to use typed user features. This app is stored in a database making the administration complicated.
  • You do not necessarily have to type a user feature to manipulate it. You can do it using EKL through the following functions and methods:
    • GetAttributexxx and SetAttributexxx
    • CreateOrModifyTemplate
    • InstantiateTemplate
    • EndModifyTemplate
  • All of the <feature>.GetAttributexxx methods along with <feature>.HasAttribute work recursively (like query or find). That is, if you start from <feature> object and you have a parameter that is somewhere deep inside a number of parameter sets between the feature and the parameter itself, it is futile to get the direct parent of the parameter to read it. These methods cross all parameter sets down to the parameter.
  • The behavior is different if you have more than one parameter with the same Local Name. The behavior is similar to the Find method such as the HasAttribute and the GetAttributexxx methods, but it stops on the first parameter found with the queried Local Name.

This task shows you how to:

See Also
Creating a User Feature
Instantiating a User Feature