The emulation tab allows you to "spoof" a property change and watch it execute through the broker to receiving components. There are two ways you can emulate a property change - one, calling the action directly and two, using an active wire.
Calling the action directly
When you call an action directly the monitor will be taking in the text value and attempt to convert it to the correct property type. Here is a screen shot with some explanation of how to call an action directly by explaining the key parts of the tab.
- Select the "Call an action directly" option
- Find the action from the appropriate owner you want to call. In this case I selected the SetSelectedDate action from my Notes Calendar.
- Type in the value you want to send to the actions input parameter. (see the next bullet for a cool tip).
- If the type of the parameter is known to the monitor it will attempt to show you the text format you must use. In this case it is an xsd:dateTime.
- The next list of name value pairs is the information for what the source property must look like in order for the action to take in the property change.
Using an active Wire
The only difference between this option and calling the action directly is the monitor will construct the property change and send the value to the broker using the from owner ID specified in the wire. This will truly emulate execution flow of a production property change.