IBM Verse: Extension Points - Examples: Difference between revisions

From Wiki
Line 40: Line 40:
== Action for Business Card (object: com.ibm.appreg.object.person)==
== Action for Business Card (object: com.ibm.appreg.object.person)==


The extension declares one action which is bound to the '''com.ibm.appreg.object.person''' object, which means it displays on the back of all Verse business cards.
Add a html link on Verse. However, trigger a programmatic logic inside of widgets inside of widgets, which are like mini web applications that can respond to that input.


On image VerseApplicationLinks.png, when click on '''Person Widget Action''', item '''#2''', open a new window.
On image VerseApplicationLinks.png, when click on '''Person Widget Action''', item '''#2''', open a new window.

Revision as of 20:03, 7 February 2018

Currently on Verse 1.0.3, Verse has the following options:

  • Business Card
  • Mail Compose View
  • Mail Read View

Here is the full list of extension points that Verse supports

Simple Link and Templated Link

Simple Link and Templated Link extensions provide an easy way to add html links that open a webpage in a new tab/window.

See image VerseApplicationLinks.png:

Simple Link (object: com.ibm.appreg.ext.simpleLink)

A Simple Link extension adds a clickable URL link to the Verse UI.

On image VerseApplicationLinks.png, when click on Simple Link Action, item #0, open a new window.

Templated Link (object: com.ibm.appreg.ext.templatedLink)

A Templated Link extension adds a clickable URL link to the Verse UI including the option to configure the extension to receive data from Verse encoded in the URL.

On image VerseApplicationLinks.png, when click on Templated Link Action, item #1, open a new window.

Widget (com.ibm.verse.ext.widget)

A Widget extension associates a third party web application with Verse by opening a new browser window/tab or embedding the application using an iframe within the Verse UI. A widget extension may contribute multiple Widget Actions to the Verse UI.

All of actions in the widget will share the same url. When Widget Action is clicked, the application opened by the widget’s url will be rendered on the different place based on the action’s location.


Action for Business Card (object: com.ibm.appreg.object.person)

Add a html link on Verse. However, trigger a programmatic logic inside of widgets inside of widgets, which are like mini web applications that can respond to that input.

On image VerseApplicationLinks.png, when click on Person Widget Action, item #2, open a new window.

Action for Mail Compose (path: mail.compose)

This action which appear in the toolbar displayed when composing a mail i.e. Mail Compose view. Useful to display information relevant to a mail when user is currently composing.

Example of use:

  • use Watson Tone Analyzer to provide the user with data on the tone of the mail before they send it.

Action for Mail Read (path: mail.read)

This action which will display when the user is reading a mail i.e. the Mail Read view. Useful when you want to transfer received mails from Verse to another application.

Example of use:

  • Update CRM System, like Salesforce
  • Use Watson Tone Analyzer to provide the user with data on the tone of the mail.
  • use Watson Text To Speech to listen email
  • Update Watson Workspace

Custom Name Picker (object: com.ibm.verse.ext.namePicker)

Extension that add a custom name picker in mail compose view and can be invoked by clicking the To link.

Ficheiro:Verse-custom-name-picker.png

Documentations and Examples:

Hook Before Send (object: com.ibm.verse.ext.beforeOnSend)

Hook Before Send

Live Text (object: com.ibm.verse.ext.liveText)

Live Text Widget

Ver também