Table of Contents

Search

  1. Preface
  2. Introduction to REST V2 Connector
  3. Connections for REST V2
  4. REST V2 operations
  5. Mappings and mapping tasks with REST V2 Connector
  6. Swagger File Generation
  7. Appendix A: Swagger objects
  8. OpenAPI objects

REST V2 Connector

REST V2 Connector

Creating packed fields

Creating packed fields

If you do not want to parse hierarchical elements, you can pack the elements into one field. You can also pack array elements when you write to the target.
A pack icon appears next to elements on the
Field Mapping
tab. When you select the pack icon that appears next to the element, the agent packs the element and its child elements into a single XML string during runtime. You cannot select fields that are child elements of packed fields in field mapping.
You can unpack fields by clicking on the pack icon.
To pack the fields, click on the pack icon that appears next to the rows element.
The following image shows the packed rows element:
The following sample shows the output of the Rows field in the target file after you run the task:
<infa_packed> <rows> <id>52835a523b9b6816ec81e9585b09c987</id> <key>52835a523b9b6816ec81e9585b09c987</key> <value> <rev>1-c7fe1b7b899a9ce50319a47d675af735</rev> </value> </rows> </infa_packed>

0 COMMENTS

We’d like to hear from you!