Defining Read Only Behavior Properties

When editing order and task data in an editor, you can right-click data node behaviors and select Open Properties View to access the behavior properties.You use the Properties view tabs to model Read Only behaviors.

Note:

The level at which you create a behavior (at the data element level, task level, or order level) determines where you access and configure the behavior's properties. See "Creating New Behaviors" for more information.

To define Read Only behavior properties:

  1. From the Design perspective, right-click the behavior and select Open Properties View.

    The Behaviors Properties view is displayed.

  2. Click the Details tab.

    The Behaviors Properties view Details tab is displayed. The Name, Type, and Path field values are read-only, and cannot be modified on this tab. See "Defining Behavior Detail Properties" for more information about the options that you can define on this page.

  3. Click the Conditions tab.

    Use the Conditions tab to add conditional logic to the Read Only behavior. See "Defining Behavior Condition Properties" for more information about defining conditions for behaviors.

  4. Click the Notes tab.

    Use the Notes tab to describe the functionality or include internal documentation about the Read Only behavior.

Related Topics

About Read Only Behaviors

Working with Behaviors

About Read Only Behaviors

The Read Only behavior enables you to target specific conditions when the OSM server should make a field read-only in the Task Web client. Information is always read-only in the Order Management Web client. You can use the Read Only behavior to make fields read only or read/write, depending on the content of other fields.

For example, assume that a view has an IP Allocation {static, DHCP}, an IP Address, a Subnet Mask, and a Default Gateway field. You can create a read-only rule on IP address, Subnet Mask, and Default Gateway that evaluates to True when the value DHCP is selected for the IP Allocation field.

See OSM Concepts for more information about behavior default values, inheritance, and declarative syntax.

Note:

If a data node's Read Only behavior evaluates to true, all children of that data node are read-only.

About Read Only Behaviors and Read Only Task View Options

In Design Studio, you can define a data node as read-only by creating a Read Only behavior, and by defining the data node as read-only at the task view level:

  • Defining a Read Only behavior for a data node enables you to apply specific conditions to determine when the OSM server should make the associated field in the Task Web client read-only.

  • Defining a data node as read-only at the task view level ensures that a field always is displayed as read-only in the Task Web client (in the context of the associated task). See "Task Data Node Properties View Identification Tab" for information about defining data nodes as read-only at the task view level.

Note:

If a Read Only behavior and a task view read-only option conflict for the same data node, the OSM server defaults to the Read Only behavior. For example, consider that you have identified a data node as read-only on the Task Data Node Properties View Identification tab, and you've also defined a Read Only behavior for that same data node. If the behavior evaluates to false, the Task Web client field associated with the data node will be editable.

Related Topics

Defining Read Only Behavior Properties

Working with Behaviors

About Web Client Behavior Support