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
-
Sign in to Microsoft Power Apps and select your environment.
-
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:
-
In the left pane, select Solutions.
-
Edit or create an unmanaged solution for your custom connector.
-
Select New, then select Automation, and Custom connector.
-
Select + New custom connector.
-
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:
|
|
Base URL |
Enter |
Configure the Security tab
-
Select the Security tab.
-
Select the authentication type that matches your implementation. For example, OAuth 2.0.
Configure the Definition tab
-
Select the Definition tab.
-
Select New action.
-
Enter Summary, Description, Operation ID (for example, Get Purchase Order Receipt).
-
Set the Visibility as required (Important, Advanced, or None).
-
Under Request, select + Import from sample.
-
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
-
Select the Code tab.
-
Review the generated code.
Test the connector
-
Select the Test tab.
-
Under Connections, select + New connection.
-
Sign in using an account that has access to the connector.
-
Enter the required input values for the orchestration.
-
Select Test operation to execute the request.
If the request fails, verify that the request body matches the orchestration input parameters before testing again.
-
Verify that the operation returns a successful response and the expected data from JD Edwards.
-
After completing all tabs, select Update connector to save your configuration.
Related tasks