FDC3 Intents

  • 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 Intents; users can:
    • Raise Intents
    • Listen for Intents
    • Create Custom Intents

Intents are FDC3 actions that a user wants to perform or react to.

AdapTable supports Intents through the intents property in FDC3 Options.

This object is of type Fdc3IntentOptions which contains these properties:

PropertyDescription
handleIntentHandles incoming Intents (standard and custom)
handleIntentResolutionHandles the IntentResolution that a raised Intent might return
listensForSubscribe to given standard Intent(s)
raisesRaises given standard Intent(s) on various Grid Actions

As can be seen, users are able both to Raise and Listen For FDC3 Intents.

Available Intents

The FDC3 Intents supported by AdapTable (and the Contexts they can be used in) are as follows:

FDC3 IntentAvailable Contexts
StartCallContact, ContactList
StartChatContact, ContactList, ChatInitSettings
StartEmailEmail
ViewAnalysisInstrument, Organization, Portfolio
ViewChartChart, Instrument, Organization, Portfolio, Position
ViewContactContact
ViewHoldingsInstrument, InstrumentList, Organization
ViewInstrumentInstrument
ViewInteractionsContact, InstrumentList, Organization
ViewNewsCountry, Instrument, InstrumentList, Organization, Portfolio
ViewOrdersContact, InstrumentList, Organization
ViewProfileContact, Organization
ViewQuoteInstrument
ViewResearchContact, InstrumentList, Organization

Raising Intents

Intents are raised using the raises property in the intents section of FDC3 Options.

Each Intent to raise is listed by type (e.g. ViewQuote) and followed by the Intent-raising behaviour.

Caution

  • Make sure all intents you raise 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 behaviour can take one of 2 forms:

Hint

It is possible to raise an Intent using both Context Menu and FDC3 Action Column

Raises given standard Intent(s) on various Grid Actions

Listening for Intents

Listening for Intents from external applications is done in 2 stages:

Note

Both of these steps uses a property in the intents section of FDC3 Options

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

listensFor

Subscribe to given standard Intent(s)

Handling Intents

Incoming FDC3 Intents is handled by the handleIntent property.

handleIntent

Promise<IntentResult> | void
Handles incoming Intents (standard and custom)