Embedded widgets

The TemplatePanel widget allows arbitrary HTML and JavaScript to be rendered as part of a PCF page. Embedded widgets are similar, but are intended specifically for embedding an iframe in a PCF page.

Embedded widgets differ from template panels in the following ways:
  • Embedded widgets support only embedded iframe elements. They do not support HTML or JavaScript directly included in the PCF page.
  • Embedded widgets are available as either a panel (EmbeddedPanel) or as an input (EmbeddedInput).
  • Embedded widgets have built-in support for communicating with the page within the iframe. The page within the iframe can also use the gw-embedded-ts.js JavaScript library provided to communicate with the PCF page.
You can use an embedded widget to embed another page or URL within a PCF page without any modification. However, it is primarily intended for embedding custom web applications that work together with InsuranceSuite, but that have their own user interface. Such applications would be tailored to work with InsuranceSuite and would use the gw-embedded-ts.js library to send data to and receive data from the surrounding InsuranceSuite page.