FDC3 Context

  • This AdapTable Help Page is being actively updated
  • AdapTable has just upgraded to FDC3 2.0 and we are working on updating the documentation

Summary

  • AdapTable fully supports FDC3 Contexts; users can:
    • Broadcast Context
    • Listen for Context
    • Create Custom Context

AdapTable supports FDC3 Contexts through the contexts property in FDC3 Options.

This object is of type Fdc3ContextOptions and contains these properties:

PropertyDescription
broadcastsBroadcasts given standard Context(s) on various Grid Actions
handleContextHandles incoming Contexts (standard and custom)
listensForSubscribe to given standard Context(s)

As can be seen, users are able both to Broadcast and Listen For FDC3 Context.

Available Contexts

The FDC3 Intents supported by AdapTable (and the Intents they can raise) are as follows:

FDC3 ContextAvailable Intents
ChartViewChart
ChatInitSettingsStartChat , StartCall, ViewContact
ContactStartChat , StartCall
ContactListStartChat , StartCall, ViewProfile, ViewResearch, ViewInteractions, ViewOrders
CountryViewAnalysis, ViewNews
Currency
EmailStartEmail
InstrumentViewAnalysis, ViewChart, ViewInstrument, ViewNews, ViewQuote, ViewResearch, ViewInteractions, ViewOrders
InstrumentListViewAnalysis, ViewChart, ViewInstrument, ViewNews, ViewQuote
OrganizationViewAnalysis, ViewNews, ViewProfile, ViewResearch, ViewInteractions, ViewOrders
PortfolioViewAnalysis, ViewChart, ViewNews
PositionViewAnalysis, ViewChart, ViewNews
TimeRange
Valuation

Broadcasting Context

FDC3 Contexts are broadcast using the broadcasts property in the contexts section of FDC3 Options.

Each Context is listed by type (e.g. fdc3.instrument) and details the context-broadcasting behaviour.

Caution

  • Make sure all contexts you broadcast are referenced in the gridDataContextMapping property of FDC3 Options
  • This is a required step which AdapTable uses to map columns and fields to FDC3 objects

This context-broadcasting behaviour can take one of 2 forms:

Hint

It is possible to broadcast Context using the both Context Menu and an FDC3 Action Column

Broadcasts given standard Context(s) on various Grid Actions

Listening for Context

Listening for Context (that has been broadcast from external applications) is done in 2 stages:

Note

Both steps use a property in the contexts section of FDC3 Options

  • all Contexts to handle are listed in the listensFor property
  • an implementation is given for the handleContext function property

listensFor

Subscribe to given standard Context(s)

Handling Context

Incoming FDC3 Context is handled by the handleContext property.

handleContext

void
Handles incoming Contexts (standard and custom)