Skip to content

Latest commit

 

History

History
100 lines (72 loc) · 3.93 KB

File metadata and controls

100 lines (72 loc) · 3.93 KB

ℹ️ OpenFin Workspace: OpenFin Workspace is a commercial product and this repo is for evaluation purposes (See LICENSE.MD). Use of the OpenFin Container and OpenFin Workspace components is only granted pursuant to a license from OpenFin (see manifest). Please contact us if you would like to request a developer evaluation key or to discuss a production license.

<- Back to Table Of Contents

What Is Fdc3?

FDC3 is a standard that OpenFin contributed to FinOS.

FDC3 provides a way of:

  • Exchanging messages with content running within your platform
  • Exchanging messages with external applications (if you allow them to connect to your platform)
  • A way of triggering workflows (called Intents) and passing a contextual object to the target (e.g. Intent ViewChart and here is the Instrument contextual object).

The contextual objects you share can be custom (there is a type property where you can specify your own namespace) or it can be one of the agreed upon types (instrument, portfolio, organization, contact etc).

As a platform:

  • You can decide who can connect to you
  • Whether content should have the FDC3 api injected into the document
  • How you present the list of possible intent handlers to your users

As a content creator:

  • You can decide whether you wish to broadcast or listen to contextual objects
  • Whether you content will listen for intent requests
  • What intents you wish to declare that you support in your app definition

Useful links

Enabling FDC3 in your Openfin Application

Manifest

In your manifest you can define default Window Options and default View Options. You can specify that you wish FDC3 (and what version) enabled for all views and windows in your manifest:

"platform": {
  "defaultWindowOptions": {
    "fdc3InteropApi" : '2.0'
  },
  "defaultViewOptions": {
    "fdc3InteropApi" : '2.0'
  }
}

In your manifest within the platform definition you can also enable/disable the FDC3/Interop console logging OpenFin does (it is true by default):

"platform": {
 "interopBrokerConfiguration": {
   "logging": {
    "beforeAction": {
     "enabled": true
    },
    "afterAction": {
     "enabled": true
    }
   }
  }
}

Window / View Options

If you do not globally enable the fdc3 API you can opt into FDC3 at the Window/View level via Window/View options.

Enabling the FDC3 API

{
    "url": "http://yoururl",
    "fdc3InteropApi" : '2.0'
}

Defaulting to a user channel

You can have a view/window automatically join a user channel if it is specified in the View/Window Options

{
 "url": "http://yoururl",
 "fdc3InteropApi": "2.0",
 "interop": {
  "currentContextGroup": "green"
 },
}

Guides

We provide guides on how to configure intents for your workspace platform and how to add context support, how to add intent support and how to add fdc3 open support to your content/app. We recommend going through the concepts and working your way down the guides if you are new to OpenFin and OpenFin Workspace. We also provide a configured workspace (see third.manifest.fin.json) that is configured to use an FDC3 App Directory and only brings in FDC3 related tools.

<- Back to Table Of Contents