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

Procedure

  1. In the Cockpit, go to Connectivity and click Connector.

  2. In the Connector, click Add.

    Result: The connector settings open. You start in the General tab.

  3. Enter a meaningful Name.

  4. Assign the connector to a package of artifacts in Package.

  5. Enter a short and meaningful Description.

  6. Navigate to the Data Source tab.

  7. In Data Source, select Server Script.

  8. If you want to see a preview of the data when selecting the connector in the Adaptive Designer, activate Previewable.

  9. In Setup, select the server script that specify the selections and fields in an Adaptive Application.

  10. In Run, select the server script you want to create a connector for.

  11. In Start Parameters, add parameters that the server script expects, if any.

  12. Navigate to the Documentation tab and enter information about the connector and server script.

  13. Click Save.

Results

  • Your connector is saved with the current settings. Connector adds an ID to your connector and saves change dates.

  • Connector adds the Field Catalog tab that shows the properties imported from the server script.

  • Your connector is now available when creating an adaptive application.