IExchangeContextForm interface
Opt-in capability interface that extends ICustomForm for forms that require exchange metadata. Implement this interface instead of adding ICustomForm separately — it already extends it. Use when the form needs to inspect application-category attributes from the selected exchange (e.g. connector name, source application version) before rendering its input fields. The UI Bridge calls ApplyExchangeContext once per form session, immediately before GetInputFieldsAsync is invoked.
public interface IExchangeContextForm : ICustomForm
Members
| name | description |
|---|---|
| ApplyExchangeContext(…) | Receives application-category attributes from the selected exchange. Called once per session, before GetInputFieldsAsync. Implementations should extract and store only the values they need as typed fields. |
See Also
- interface ICustomForm
- namespace Autodesk.DataExchange.UI.CustomForm.Interfaces