Portal, V6.1
Bindings
Bindings combine actions and profilers to specify actions to perform when defined conditions are encountered. Returned content can be sorted or filtered prior to display or use. Actions can be set to be performed by always, exclude, and otherwise blocks. In addition, the total number of items used can be limited.
The always and exclude blocks will always be performed no matter what the outcome of the profiler execution, but the otherwise block will only be run if none of the profilers match. An otherwise block works the same as an always blocks in that it adds items to the results, but for an exclude block, you actually choose an action that defines items that you don't want to include in the results. For example, on a shopping site, you may want to exclude items that have already been purchased.
- Example: Simple binding
- Example: Multiple profilers and optional actions
- Example: Nested bindings (simple)
- Example: Nested bindings (advanced)
Parent topic
Rules