Data Transform form - Auto-map action

Use the Auto-map action to contextually and automatically map data from JSON to the clipboard or from the clipboard to JSON.

Usage

Use the Auto-map action with a Page or Page List property that has a data model of the property's page class that exactly matches the JSON data model. The name and type of every child field is the same in both the JSON data and the clipboard.

For more information about mapping and JSON serialization and deserialization, see the following articles on Pega Community:

  • Using the mapping API for high-performance JSON serialization

  • Using the mapping API for high-performance JSON deserialization

Relation column

The Auto-map action has a fixed Relation field setting of To. That is, the Auto-map action always sets the target to the source and establishes no other sort of relationship between the two.

Note: When serializing JSON, the source is clipboard, and when deserializing JSON, clipboard is the target.

Restrictions

The only property type values supported are:

  • Page
  • Page List