ibm.PreserveMapPipeAdded by IBM on May 2, 2012 | Version 1 (Original)
|Stores information from the data bucket, making it available to use in other pipeline branches. Tags: PreserveMapPipe, pipes, saving, storing, pipelines, data bucket, Action branch, View branch, FSP, 8.0, developing
Stores information from the data bucket, making it available to use in other pipeline branches.
For example, you might collect form data using the Action branch and then preserve that data using PreserveMapPipe so that it is available to the View branch for displaying to the user.
Table 1. Table containing expressions and their descriptions for ibm.PreserveMapPipe
|keys||string||List of keys to be stored.
|pidOutputs.main||pipe||Triggers the next pipe in the pipeline.|
The following example show how to configure a typical PreserveMapPipe. In this case, only values with the key "newsForm" are preserved.
ibm.PreserveMapPipe.samplePipeline3.keys = string:newsForm
- ibm.PreserveMapPipe is typically the last pipe in the Action branch of the pipeline. It must be used in conjunction with ibm.RestoreMapPipe, which is typically the first pipe in the View branch of the pipeline. ibm.PreserveMapPipe preserves objects from the data bucket while ibm.RestoreMapPipe returns them for use in the data bucket.