Ability to open an application via intents in a pre-defined location #332
Labels
api
FDC3 API Working Group
channels feeds & transactions
Channels, Feeds & Transactions Discussion Group
enhancement
New feature or request
Enhancement Request
Use Case:
When raising intents the default behaviour is to present the user with a list of applications that can serve that intent. The user can then choose which of the matching applications to launch. The user could be required to provide further input about where the application should be added (e.g. in a new window, or to a pre-existing window/browser window, etc.).
This process of choosing and launching new applications (e.g. for an application that shows ticket details) impedes the flow for what can be very common tasks.
Workflow Description
It would be beneficial to be able to raise intents for a predetermined application (e.g. 'ViewTicket') with the option of also providing a location of where the application should open (e.g. a new or existing window) and potentially provide additional metadata.
Workflow Examples
const { source } = await fdc3.raiseIntent('ViewTicket', {context}, 'ticket-app', <targetMetadata>)
where
<targetMetadata>
examples could be:{ locationType: 'window', locationId: '<windowId>', position: 'right', height:400, width:400}
{ locationType: 'group', locationId: '<groupId>', position: 'bottom'}
The text was updated successfully, but these errors were encountered: