Creating a value info

You use a value info to group several BOM value type extensions for the same BOM member.

About this task

You create a value info if you want to attach a value editor, value provider, value checker, or value translator to a BOM member. The value info interface defines the methods for referencing them.

Procedure

To create a value info:

  1. Implement the interface IlrValueInfo.
  2. Open the BOM Editor in Rule Designer.
  3. In the BOM Editor, open the member for which you want to define the value info.
  4. In the Custom Properties section, click Add.

    A new custom property is created.

  5. Set the newProp value as follows:
    • For a BOM attribute or a return value, in the Name column, click newProp and then type valueInfo. In the Value column, type the key that you want to use in Rule Designer, Decision Center, or Rule Solutions for Office to reference your value info class.

    • For a BOM method, in the Name column, click newProp and then type valueInfo[<arg index>], where <arg index> is the index of the argument for which the value info is used. The argument index starts at zero. In the Value column, type the key that you want to use in Rule Designer , Decision Center, or Rule Solutions for Office to reference your value info class.

Results

You now have a value info, which you must integrate into the relevant Operational Decision Manager modules.

Integration into

Rule Designer

Integration into

Decision Center

Integration into

Rule Solutions for Office

Create a Rule Designer plug-in with a value info extension point.

Integrating a value info into Rule Designer

Sample: Context-aware rule definition

Repackage the Decision Center archive to integrate and declare the value info.

Integrating a value info into Decision Center

Translate the value info class to C#, declare the BOM property key in the class and then register it as an extension with the Extension Registry tool.

Integrating a value info into Rule Solutions for Office