Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
  String guid = ".....";
  WidgetInstance instance = conn.getOrCreateInstance(guid);
{code{

h3. Displaying widgets

Displaying the widgets is the job of the platform in which you wish to embed widgets. The easiest way to embed a widget is simply to place it in an iframe. To do this you will need a URL for retrieving the widget instance:

...

Displaying widgets

Displaying the widgets is the job of the platform in which you wish to embed widgets. The easiest way to embed a widget is simply to place it in an iframe. To do this you will need a URL for retrieving the widget instance:

Code Block

  String url = instance.getUrl();

...


  displayWidget(url);

...


Building Plugins without a Connector Framework

...