Tips & Tricks - Combining External Data and Intrexx Data - Part 1

In an Intrexx portal, data records from third-party sources—such as an external CRM or ERP system—can be combined with Intrexx data and displayed. This article shows you how to combine customer data from a third-party data source with types A, B, or C that originate from an Intrexx data group.

Configure Connection to External Data Source

A connection to the OData Northwind service is used as an external data source. You can easily connect using the URL "https://services.odata.org/V2/Northwind/Northwind.svc/". Click here to learn how to configure an OData connection.

Configure an External Data Group in the Application

You can find out how to create an external data group here. In the database connection dialog box, select your Northwind connection. You can then search for and select the "Customers.Customer" table. It provides sample customer data.

Next, switch to the "Data Fields" tab and click "Add" next to to add all available data fields.

Intrexx Data Group

An Intrexx data group with an input page is already available when an application is created using the "Basic Application" template. On the input page, an input field was created here for the type used to classify a customer. You can find out how to create elements here.

There is also a selection list that draws its entries from the external data group "Customers." The stored value here is the primary key—the customer number—from the external data group (PK) CustomerID. To improve readability in the browser, the customer number and company name should be displayed in the drop-down list.

When entered, the customer number is stored in the "Customer" data field in the Intrexx data group along with the type.

Displaying Intrexx Data and External Data Together

On the "All Entries" page, the combined dataset can now be displayed, for example, in a table view. To do this, the "Customer" and "Type" data fields from the Intrexx data group are included as table columns. The "Customer" column in the table has the "Dynamic View" control type.

By clicking on " " under "Display Value," you can configure which data from the external data group should be displayed in the table and in what order.

Browser-Based Application

On the input page, you can now select a customer in the browser and enter a type. On the "All Entries" page, the compiled dataset is displayed in the view table.