Skip to content

Commit 2a81f96

Browse files
committed
Add section about Parse JSON action
Fixes AB#1587544
1 parent 197fa7a commit 2a81f96

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

articles/connectors/connectors-create-api-sqlazure.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Connect to SQL Server or Azure SQL Database
33
description: Automate tasks for SQL databases on premises or in the cloud by using Azure Logic Apps
44
services: logic-apps
55
ms.suite: integration
6-
ms.reviewer: klam; logicappspm
6+
ms.reviewer: estfan, jonfan, logicappspm
77
ms.topic: conceptual
8-
ms.date: 11/08/2019
8+
ms.date: 05/11/2020
99
tags: connectors
1010
---
1111

@@ -125,6 +125,20 @@ Sometimes, you have to work with result sets so large that the connector doesn't
125125

126126
* [SELECT - ORDER BY Clause](https://docs.microsoft.com/sql/t-sql/queries/select-order-by-clause-transact-sql)
127127

128+
### Handle dynamic bulk data
129+
130+
Sometimes, when you make a call to a stored procedure in the SQL Server connector, the returned output is dynamic. In this scenario, you need to:
131+
132+
1. Open **Logic Apps Designer**.
133+
1. Perform a test run of your logic app to see the output format. Copy down your sample output.
134+
1. Select **+ New step** in **Logic Apps Designer**.
135+
1. Under **Choose an action**, search for and select the [**Parse JSON**](../logic-apps/logic-apps-perform-data-operations.md#parse-json-action) action.
136+
1. In the new **Parse JSON** step, select **Use sample payload to generate schema**.
137+
1. In the **Enter or paste a sample JSON payload** window, paste in your sample output. Then, select **Done**. Now, the **Parse JSON** action contains a **Schema**.
138+
1. If you receive an error that Logic Apps is unable to generate a schema, verify that your sample output's syntax is correctly formatted. If you're still unable to generate a schema, manually enter one in the **Schema** text box.
139+
1. Select **Save** in the **Logic Apps Designer** menu.
140+
1. Access your JSON content's properties using the data tokens from the [Parse JSON action](../logic-apps/logic-apps-perform-data-operations.md#parse-json-action).
141+
128142
## Connector-specific details
129143

130144
For technical information about this connector's triggers, actions, and limits, see the [connector's reference page](https://docs.microsoft.com/connectors/sql/).

0 commit comments

Comments
 (0)