Request

Response

    Changelog – Data Exchange SDK 7.1.1-beta

    Release Date: February 18, 2026

    This patch release adds a new event for tracking exchange operation completion.

    What’s New

    • New event: IInteropBridge.ExchangeOperationCompleted - React to exchange operations after they fully complete
    • New enum: ExchangeOperationType - Identifies the operation type (Create, Load, Update, Delete, LoadLatest)
    • New class: ExchangeOperationCompletedEventArgs - Event data with operation type and success status

    Breaking changes: None


    Added

    Exchange Operation Completed Event

    New Feature: React to exchange operation completion reliably

    The IInteropBridge interface now includes an ExchangeOperationCompleted event that is raised after an exchange operation has fully completed—including SDK cleanup and response delivery to the Connector UI. This enables connectors to reliably react to operation completion (for example, hide/show host UI) without race conditions.

    New Types:

    /// <summary>
    /// Specifies the type of exchange operation.
    /// </summary>
    public enum ExchangeOperationType
    {
        Create,
        Load,
        Update,
        Delete,
        LoadLatest
    }
    
    /// <summary>
    /// Provides data for the ExchangeOperationCompleted event.
    /// </summary>
    public class ExchangeOperationCompletedEventArgs : EventArgs
    {
        /// <summary>
        /// Gets the type of operation that completed.
        /// </summary>
        public ExchangeOperationType OperationType { get; }
        
        /// <summary>
        /// Gets whether the operation completed successfully.
        /// </summary>
        public bool Succeeded { get; }
    }
    
    Show More

    Usage Example:

    // Subscribe to the event
    interopBridge.ExchangeOperationCompleted += OnExchangeOperationCompleted;
    
    private void OnExchangeOperationCompleted(object sender, ExchangeOperationCompletedEventArgs e)
    {
        switch (e.OperationType)
        {
            case ExchangeOperationType.Create:
                if (e.Succeeded)
                {
                    // Exchange created successfully - safe to update host UI
                    ShowHostApplicationUI();
                }
                break;
                
            case ExchangeOperationType.Load:
                if (e.Succeeded)
                {
                    // Exchange loaded - update visibility
                    RefreshExchangeDisplay();
                }
                break;
                
            case ExchangeOperationType.Update:
            case ExchangeOperationType.Delete:
            case ExchangeOperationType.LoadLatest:
                // Handle other operations
                LogOperationResult(e.OperationType, e.Succeeded);
                break;
        }
    }
    
    Show More

    Key Benefits:

    • No race conditions: Event fires only after SDK cleanup and UI response delivery complete
    • Operation awareness: Know exactly which operation finished via ExchangeOperationType
    • Success/failure status: React appropriately to operation outcomes

    Changed

    UI: MessageType Constants Consolidated

    The MessageType constants on the UI side have been moved to a shared Common.ts module, eliminating duplication across UI components.

    Impact: Internal refactoring only. No changes required for connector implementations.

    See Also