Connect a Power Apps Application to JDE Through Cantara Gateway

Purpose

This topic describes how to create a Microsoft Power Apps custom connector that connects to JD Edwards (JDE) through the Cantara Gateway.

Before you begin

  • You have a Cantara Gateway configured with a gateway prefix. For details, see Configure a Gateway.

  • You have access and required permissions to Microsoft Power Apps.

Configure the General tab

  1. Sign in to Microsoft Power Apps and select your environment.

  2. In the left navigation, select More, and then select Custom connectors.

Tip: If Custom connectors does not appear in the left navigation, you can create or access it from a solution instead:

  1. In the left pane, select Solutions.

  2. Edit or create an unmanaged solution for your custom connector.

  3. Select New, then select Automation, and Custom connector.

  1. Select + New custom connector.

  2. Complete the General tab using the following information.

Field

Description

Icon

(Optional) Upload an icon.

Icon background colour

(Optional) Select a background colour (for example, #4A90D9).

Connector name

Enter a descriptive name for the connector.

Description

(Optional) Enter a brief description of the connector's purpose.

Scheme

Select HTTPS.

Host

Enter your Cantara Gateway host name. The format depends on your environment:
Beta: <gateway-prefix>.beta.cantara.cloud (for example, myprefix.beta.cantara.cloud).
Production: <gateway-prefix>.cantara.cloud (for example, myprefix.cantara.cloud).

Base URL

Enter /jdrest/<version>/orchestrator (for example, /jdrest/v3/orchestrator). Only the version number changes depending on your AIS Server version.

Configure the Security tab

  1. Select the Security tab.

  2. Select the authentication type that matches your implementation. For example, OAuth 2.0.

Configure the Definition tab

  1. Select the Definition tab.

  2. Select New action.

  3. Enter Summary, Description, Operation ID (for example, Get Purchase Order Receipt).  

  4. Set the Visibility as required (Important, Advanced, or None).

  5. Under Request, select + Import from sample.

  6. Configure the request using the following values.

Setting

Value

Verb

Select the HTTP verb that matches the action you want to perform.

URL

/jdrest/<version>/orchestrator/<orchestration-name>

Body

Enter a sample request body containing the inputs required by the orchestration (for example, company, order number, and order type).

Review the Code tab

  1. Select the Code tab.

  2. Review the generated code.

Test the connector

  1. Select the Test tab.

  2. Under Connections, select + New connection.

  3. Sign in using an account that has access to the connector.

  4. Enter the required input values for the orchestration.

  5. Select Test operation to execute the request.

If the request fails, verify that the request body matches the orchestration input parameters before testing again.

  1. Verify that the operation returns a successful response and the expected data from JD Edwards.

  2. After completing all tabs, select Update connector to save your configuration.


Related tasks