Difference between revisions of "Binding"
From AMTech WikiDocs
Line 1: | Line 1: | ||
− | The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there | + | The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there are 3 types of binding: |
* Constants | * Constants | ||
[[File:Binding-constants.png|thumbnail|center|constant]] | [[File:Binding-constants.png|thumbnail|center|constant]] |
Revision as of 09:49, 11 August 2017
The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there are 3 types of binding:
- Constants
- Value selected from a resource property, filter by the type of the property
- Javascript code
- the context where the reasoner gets executed is injected into the javascript function, Ctrl+Space shows code completion options