On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Transform | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap records the input documents from Triggered or Ultra Task requests and replays them in Designer so that you can work with real preview data. When developing a new triggered or Ultra pipeline, you should create a pipeline with this Snap at the head, create the task, and send a sample request to the task to be recorded. Note that for an Ultra Task, you should disable the task so that the recording can be saved. Now that there is a recording saved, you can continue to develop your pipeline with real data. | |||||||||||||
Prerequisites: | [None] | |||||||||||||
Support and limitations: | Works in Ultra Pipelines. | |||||||||||||
Account: | Accounts are not used with this Snap. | |||||||||||||
Views: |
| |||||||||||||
Settings | ||||||||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||||||||
Record File Path | The path to the file where the recorded documents are stored. | |||||||||||||
Count | Required. The number of documents to record. The last 'Count' documents are kept and written to the 'Record File Path' when the pipeline completes. | |||||||||||||
Replay-Only | Select this option to just replay recorded documents, not record new documents. | |||||||||||||
|
|
Examples
Generating an HTML Page with Weather Data from a SOAP Service
In this example, this Ultra Pipeline generates an HTML page with weather data from a SOAP service.
The pipeline will lookup your location based on your IP address using a rest service and then contact the soap service. The generated page also includes an input for specifying the postal code manually if you want to query another location.
The Record Replay Snap records the input documents from the feed requests and replays them in Designer so you can work with real Suggest data.
The Router Snap validates the request and determines whether the geoIP lookup is needed from the REST Get Snap. A SOAP Snap is used to get the weather data.
The XML Generator generates the HTML page, a Mapper Snap does some minor data updates, and a Document to Binary Snap returns the HTML page to the client instead of a JSON-encoded string.
Downloads
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Attachments | ||||||
---|---|---|---|---|---|---|
|
See Also
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|