Integration Pane
Introduction
Use the Integration pane in Studio Pro to incorporate available assets from different applications in an organization into your Mendix apps. You can create new apps using shared entities, actions, and events that are registered in the Catalog. In Studio Pro, this is possible through the integrated functionality of Catalog in the Integration pane.
You can search in the Catalog through the Integration pane to discover assets that you can use in your app. You can connect to services in your landscape by dragging elements from this pane into your app. For example, you can add entities that are published in registered OData services to your app's domain model. These entities are called external entities and are different because they enable connection to the data associated with the entities in the originating app. Besides external entities, OData services can expose actions that can be called from within microflows and can define non-persistable entities that can be used as parameters or return types of these actions. You can also connect with business event services by dragging an event onto your app's domain model.
To display the Integration pane, click View > Integration.
Integration Pane Overview
The following functionality is available in the pane:
- Search – Enter a search string of alphanumeric characters to search in the Catalog. The search is performed on services, entities, attributes, associations, actions, business events, and descriptions in the Catalog.
- Filter – By default, the search is performed on assets in the Production environment. Click the Filter icon > Show development environments to include non-production and sandbox environments in the search.
- View service information – When you enter a search term and browse through the results, you can see all relevant information for that service, including the assets that it provides for use in your app.
- View services used in this app – Services, entities, actions, and events that are currently used in your app are displayed in the Used in this app section. They are also indicated with a green check mark in the search results. For more information, see the Used in this app section below.
Used in This App Section
When you do not enter search text in the Integration pane, the Used in this app section is displayed. This shows the consumed services and the related external entities, actions, and events used in the current app. The list of entities, associations, attributes, actions, and events for the consumed services is shown as for the search results:
For more information on how to add entities and actions to your app, see the Adding an External Entity to an App section in External Entities or Call External Action. For information on working with business events, see Using Business Events.
Searching Catalog Sources
As you enter a search term, all items in the Catalog that satisfy the search string are listed in the search results. This includes words in the service, entity, attribute, action, or event descriptions, which are not displayed in the Integration pane. For more information, see the Selected Asset Details section in Search in the Catalog.
You can drag an external entity or a business event from the search results into your domain model. It is added to your app and displayed as an external entity or a specialization of the BusinessEvents.ConsumedBusinessEvent or BusinessEvents.PublishedBusinessEvent entity, respectively.
Wildcard Search
You can perform a wildcard search by entering * in the search field.
* to perform an "empty" search in the Catalog. You cannot use the wildcard in combination with other characters. For further details, see How to Search for Registered Assets.
Filtering Environments
By default, the search is performed on assets in the Production environment. To include all other environments such as test, acceptance, and also the Mendix Free App environment (Sandbox) in the search, click the Filter icon and select Show development environments:
Integration Pane Information
The information that is displayed in the Integration pane either when you enter a search term or when you open the Used in this app section is described in the sections below.
Services
The search results and Used in this app section show the following information at a service level:
-
Service name
-
Application icon for the service (for example, Mendix, SAP, Siemens Teamcenter, or custom icons)
-
Service version
-
Environment name for non-production environments
Only the names of non-production environments are displayed. Services in a Production environment do not show an environment name. -
Green check mark if the service or a service's asset is consumed in the app. If you right-click a consumed service, you can do the following:
-
View in Catalog – go to the data source details page in the Catalog
-
Go to ... – open the corresponding document in this app
-
-
Gray shield icon – shows if the service or entity is validated in the Catalog
-
Update icon – a blue arrow icon that indicates that there is another version of the consumed service available in the Catalog. Click to update the service that is consumed in the app to the contract that is now available:
The update feature is currently only available for OData services.The service information presented in the Used in this app section represents the service that is currently consumed; information about the newer version of the service is visible in the search results. In the example above, version 1.2.0 of BikeSubscriptionService is currently consumed in the app. If you search for "BikeSubscriptionService", the new service version is listed, showing the elements of that newer version. The newer version could include elements that are not available in the current version of the service that is consumed in your app, or conversely, your app could use elements of the service that are no longer available in the new version of the service. -
Information icon – view further details for the service and a link to go directly to the Service Details screen in the Catalog:
External Entities, Attributes, and Associations
External entities are grouped in the Entities folder under the service name. Expanding an entity displays its description, attributes, and associations.
In the search results, the visible elements are not all available elements in the service, but just the selection that matches the search term. For any service in the list, you can click Show details to see the full list of the exposed entities, associations, and attributes for that service.
Entity
If you right-click an entity and select View in Catalog, it takes you to the entity details page in the Catalog.
If you right-click a consumed entity and select Go to entity, it takes you to the entity in the domain model.
Attributes
Attributes for a service are listed in the same order as the service has them defined.
Unsupported attributes are grayed out and are not included when you drag the entity into your app.
Associations
The associations that are exposed in the services are listed after the attributes. Below each association, you can see the entity it associates with and a green check mark if that associated entity is already present in your app.
Unsupported associations are grayed out.
Actions
External actions are displayed under the service, below the entities, grouped in a folder named Actions. You can drag these actions onto a microflow, where they appear as a Call external action activity. In this activity, you can configure the parameters and result variable. If a parameter or result has an external or non-persistable entity as its type, they are added to the domain model for you when you add the action to your microflow.
Click the expand button next to the action to show the parameters and return type of that action. You can right-click and select Find Usages to search for all the places the action is used throughout the app.
Business Events
Business event services have a single folder, named Events, which contains the business events available in the service. You can consume these events by dragging one into your domain model and choosing whether you want to Publish events or Subscribe to events (or both). Clicking OK creates entities that represent the payload of the event you want to publish or subscribe to. If you subscribe to an event, a microflow is also created in which you can model how to handle the event.
In the case of both publishing and subscribing to business events, there are two different entities in your domain model. If your app performs any operation on that event, the green check mark appears in the Integration pane. As long as the event is not yet published or subscribed to by your app, but it is a capability the business event offers, you can drag it into your domain model.
Capabilities
If an entity supports Create, Read, Update, or Delete capabilities and is also supported by Studio Pro, it is displayed in the Integration pane. If an entity does not support any capability, it is displayed with a yellow entity icon. Dragging this into your domain model results in a non-persistable entity in the domain model. For more information on CRUD capabilities, see Write Data to Another App.
A business event can be Published or Subscribed to, or both.
Read More
- Catalog
- External Entities
- Consumed OData Service
- Business Event Services
- Using Business Events
- How to Consume Registered Assets