You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/logic-apps/create-maps-data-transformation-visual-studio-code.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,9 +229,7 @@ The example in this section transforms the source element from String type to Da
229
229
230
230
:::image type="content" source="media/create-maps-data-transformation-visual-studio-code/function-to-date-confirm-inputs.png" alt-text="Screenshot shows Input tab for the function named To Date.":::
231
231
232
-
For some data types, such as arrays, the scope for the transformation might also appear available. This scope is usually the immediate element, such as the array, but in some scenarios, the scope might exist beyond the immediate element.
233
-
234
-
For example, to iterate through array items, see [Create a loop between arrays](#loop-through-array). To perform a task when an element's value meets a condition, see [Add a condition between elements](#add-condition).
232
+
For some data types such as arrays, the data transformation scope might also be available. This scope is usually the current element, such as the array. However, in some cases, the scope might exist beyond the current element. For example, to iterate through array items, see [Create a loop between arrays](#loop-through-array). To perform a task when an element's value meets a condition, see [Add a condition between elements](#add-condition).
235
233
236
234
### Add a function with multiple inputs
237
235
@@ -266,15 +264,15 @@ The example in this section concatenates multiple source element types so that y
266
264
267
265
The **Code** pane shows the mapping relationships that you created:
268
266
269
-

267
+
:::image type="content" source="media/create-maps-data-transformation-visual-studio-code/concat-example-code-view.png" alt-text="Screenshot shows Code pane with Concat function, which has multiple inputs and a single output.":::
270
268
271
269
<aname="loop-through-array"></a>
272
270
273
271
## Create a loop between arrays
274
272
275
273
If your source and target schemas include arrays, you can create a loop mapping relationship that iterates through the items in those arrays. The example in this section loops through an Employee source array and a Person target array.
276
274
277
-
1. To review what happens in code while you create the mapping, in the map's upper right corner, select **Show code**.
275
+
1. To view what happens in code while you create the mapping, in the mapper's upper right corner, select **View code**.
278
276
279
277
1. On the map, in the target schema area, [select the target array element and target array item elements that you want to map](#create-direct-mapping).
280
278
@@ -310,7 +308,7 @@ The example in this section calculates a discount to apply when the purchase qua
310
308
-**If**: Check whether the **Greater** function returns true.
311
309
-**Multiply**: Calculate the discount by multiplying the item price by 10% and the item quantity.
312
310
313
-
1. To review what happens in code while you create the mapping, in the map's upper right corner, select **Show code**.
311
+
1. To view what happens in code while you create the mapping, in the mapper's upper right corner, select **View code**.
314
312
315
313
1. If you haven't already, on the map, [select the target elements and then the source elements that you want to map](#create-direct-mapping).
0 commit comments