Skip to content

Commit 576063b

Browse files
committed
Content updates
1 parent d647d70 commit 576063b

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

articles/logic-apps/logic-apps-enterprise-integration-flatfile.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
---
22
title: Encode or decode flat files
3-
description: Encode or decode flat files for enterprise integration with Azure Logic Apps and Enterprise Integration Pack
3+
description: Encode or decode flat files for enterprise integration in Azure Logic Apps by using the Enterprise Integration Pack
44
services: logic-apps
55
ms.suite: integration
66
author: divyaswarnkar
77
ms.author: divswa
88
ms.reviewer: jonfan, estfan, logicappspm
99
ms.topic: article
10-
ms.date: 07/08/2016
10+
ms.date: 04/28/2020
1111
---
1212

13-
# Encode or decode flat files with Azure Logic Apps and Enterprise Integration Pack
13+
# Encode and decode flat files in Azure Logic Apps by using the Enterprise Integration Pack
1414

15-
You may want to encode XML content before you send it to a business partner in a business-to-business (B2B) scenario. In a logic app, you can use the flat file encoding connector to do this. The logic app that you create can get its XML content from a variety of sources, including from an HTTP request trigger, from another application, or even from one of the many [connectors](../connectors/apis-list.md). For more information about logic apps, see the [logic apps documentation](logic-apps-overview.md "Learn more about Logic apps").
15+
Before you send XML content to a business partner in a business-to-business (B2B) scenario, you might want to encode that content first. By building a logic app, you can use the **Flat File** connector to encode and decode flat files. Your logic app can get this XML content from various sources, such as an HTTP request trigger, another app, or other [connectors supported by Azure Logic Apps](../connectors/apis-list.md). For more information, see [What is Azure Logic Apps](logic-apps-overview.md)?
1616

17-
## Create the flat file encoding connector
18-
Follow these steps to add a flat file encoding connector to your logic app.
17+
## Prerequisites
18+
19+
* An Azure subscription. If you don't have an Azure subscription yet, [sign up for a free Azure account](https://azure.microsoft.com/free/).
20+
21+
* The logic app where you want to use the **Flat File** connector and a trigger that starts your logic app's workflow. The **Flat File** connector provides only actions, not triggers. You can use either the trigger or another action to feed the XML content into your logic app for encoding or decoding. If you're new to logic apps, review [Quickstart: Create your first logic app](../logic-apps/quickstart-create-first-logic-app-workflow.md).
22+
23+
* An [integration account](../logic-apps/logic-apps-enterprise-integration-create-integration-account.md) that's associated with your Azure subscription and linked to the logic app where you plan to use the **Flat File** connector. Both your logic app and integration account must exist in the same location or Azure region.
24+
25+
* A flat file [schema]() that you use for encoding or decoding the XML content
26+
27+
* At least two [trading partners](../logic-apps/logic-apps-enterprise-integration-partners.md) that you've already defined in your integration account.
28+
29+
## Add flat file encode action
1930

2031
1. Create a logic app and [link it to your integration account](logic-apps-enterprise-integration-accounts.md "Learn to link an integration account to a Logic app"). This account contains the schema you will use to encode the XML data.
2132

@@ -72,22 +83,22 @@ You can now test your connector by making a request to the HTTP endpoint, and in
7283

7384
![Screenshot of Flat File Decoding option](media/logic-apps-enterprise-integration-flatfile/flatfile-2.png)
7485

75-
1. Select the **Content** control. This produces a list of the content from earlier steps that you can use as the content to decode. Notice that the *Body* from the incoming HTTP request is available to be used as the content to decode. You can also enter the content to decode directly into the **Content** control.
86+
1. Select the **Content** control. This produces a list of the content from earlier steps that you can use as the content to decode. Notice that the *Body* from the incoming HTTP request is available to be used as the content to decode. You can also enter the content to decode directly into the **Content** control.
7687

7788
1. Select the *Body* tag. Notice the body tag is now in the **Content** control.
7889

7990
1. Select the name of the schema that you want to use to decode the content. The following screenshot shows that *OrderFile* is the selected schema name. This schema name had been uploaded into the integration account previously.
8091

8192
![Screenshot of Flat File Decoding dialog box](media/logic-apps-enterprise-integration-flatfile/flatfile-decode-1.png)
8293

83-
1. Save your work.
94+
1. Save your work.
8495

8596
![Screenshot of Save icon](media/logic-apps-enterprise-integration-flatfile/flatfile-6.png)
8697

87-
At this point, you are finished setting up your flat file decoding connector. In a real world application, you may want to store the decoded data in a line-of-business application such as Salesforce. You can easily add an action to send the output of the decoding action to Salesforce.
98+
You're now finished with setting up your flat file decoding connector. In a real world app, you might want to store the decoded data in a line-of-business application such as Salesforce. You can easily add an action to send the output of the decoding action to Salesforce.
8899

89100
You can now test your connector by making a request to the HTTP endpoint and including the XML content you want to decode in the body of the request.
90101

91102
## Next steps
92-
* [Learn more about the Enterprise Integration Pack](logic-apps-enterprise-integration-overview.md "Learn about Enterprise Integration Pack").
93103

104+
* [Learn about the Enterprise Integration Pack](logic-apps-enterprise-integration-overview.md)

0 commit comments

Comments
 (0)