Create a connector for a script
In this topic, you learn how to create a connector for a server script.
The server script must return an array of objects with the properties "name", "label", and "type". |
Prerequisites
-
You have created a server script.
Procedure
-
In the Cockpit, go to Connectivity and click Connector.
-
In the Connector, click Add.
Result: The connector settings open. You start in the General tab.
-
Enter a meaningful Name.
-
Assign the connector to a package of artifacts in Package.
-
Enter a short and meaningful Description.
-
Navigate to the Data Source tab.
-
In Data Source, select Server Script.
-
If you want to see a preview of the data when selecting the connector in the Adaptive Designer, activate Previewable.
-
In Setup, select the server script that specify the selections and fields in an Adaptive Application.
-
In Run, select the server script you want to create a connector for.
-
In Start Parameters, add parameters that the server script expects, if any.
-
Navigate to the Documentation tab and enter information about the connector and server script.
-
Click Save.