IHostDataProvider interface
Provides an optional interface for the host application to supply data to the Connector UI upon request. Implementing this interface allows the host application to provide specific data (such as exchange names) to the Connector UI, overriding the default behavior.
public interface IHostDataProvider
Members
| name | description |
|---|---|
| ExchangeSelectionChangedEventAsync(…) | Invoked when the user changes the selected exchange in the Connector UI. This method is reserved for future use and is not currently called. |
| GetExchangeNameAsync() | Retrieves the exchange name from the host application to display in the Connector UI. This method is called when the Connector UI navigates to the "Create Data Exchange" screen. |
| GetLatestConnectorVersionAsync() | Called when the Connector UI checks for updates but cannot find a matching entry in the connector version registry. This typically occurs when the running connector is not tracked by the official update channel, which is common for third-party developers who maintain their own connectors. Override this method to implement custom logic for retrieving the latest connector version, such as fetching an installer from an alternative source. The returned version information allows the Connector UI to display update details before the user downloads and installs the update. |
See Also
- namespace Autodesk.DataExchange.UI.Core.Interfaces