Skip to content

Commit a7a7a07

Browse files
author
ecfan
committed
Draft updates
1 parent 5c48917 commit a7a7a07

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

articles/logic-apps/create-maps-data-transformation-visual-studio-code.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ The example in this section transforms the source element from String type to Da
229229

230230
:::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.":::
231231

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).
235233

236234
### Add a function with multiple inputs
237235

@@ -266,15 +264,15 @@ The example in this section concatenates multiple source element types so that y
266264

267265
The **Code** pane shows the mapping relationships that you created:
268266

269-
![Screenshot showing Code pane with complex mapping relationship between source and target elements.](media/create-maps-data-transformation-visual-studio-code/concat-example-code-view.png)
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.":::
270268

271269
<a name="loop-through-array"></a>
272270

273271
## Create a loop between arrays
274272

275273
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.
276274

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**.
278276

279277
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).
280278

@@ -310,7 +308,7 @@ The example in this section calculates a discount to apply when the purchase qua
310308
- **If**: Check whether the **Greater** function returns true.
311309
- **Multiply**: Calculate the discount by multiplying the item price by 10% and the item quantity.
312310

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**.
314312

315313
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).
316314

1.85 KB
Loading
Loading

0 commit comments

Comments
 (0)