Salesforce

How Do I Create a Specific Number of Items in a Repeatable Compound? (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Create a Specific Number of Items in a Repeatable Compound? (Magic xpi 4.13)

You can easily replicate existing Data Mapper compound nodes in XML Sources and Destinations. You do this using Magic xpi’s dedicated replication functionality.

Replicating a number of items in a repeatable compound:

  1. Open your Data Mapper and select the compound node that you want to replicate. Right-click on the node, and select Show Properties from the context menu to display the Properties pane.

  2. In the Replication parameter, select Yes from the drop-down list.

  1. You will notice that the selected compound node now carries a #1 suffix.

  2. In the Data Mapper screen, right-click again on the compound node that you want to duplicate. Select Add Replication from the context menu. This adds a duplicate compound node, along with its entries underneath it.

The replicated compound node carries a #2 suffix. This new node is added directly underneath the node that you just duplicated. You can repeat the replication process, without limit, by right-clicking the original compound node, or also by right-clicking any of the replicated nodes. The new instances are numbered with sequential suffixes.

Deleting a replicated compound node:

  • Right-click either on the original node or on the replicated compound node, and select Remove Replication from the context menu. This removes the last compound node that you replicated.

Restoring the original node name:

  • Park on the original compound node, and select No from the Replication parameter's drop-down list.

Reference
Attachment 
Attachment