NEW3.02.01 · Released 12 September 2019
NEWfinPOWER Connect
Released in
3.02.01
12 September 2019
  1. Opened7 Aug
  2. Closed2 Sep
  3. Released12 Sep
Article 16313 Job J022701

Portals; ShowHtmlWidgetModal functionality now implemented

The ability to show an HTML Widget in a Modal form has been implemented for Portals.

There are some restrictions since Portals are essentially external applications. These include:

  • Calling widget.RefreshParent() will simply reload the Portal page
    • NOTE: This must be done prior to calling widget.Close()

You must also specify caption and sizing details when showing the widget (when running from Web Services), e.g.:

page.UI.Forms.ShowHtmlWidgetModal("TEST",
 {
  title: "This is my title",
  width: "70%",
  height: "70%",
  startupParametersJson: JSON.stringify(params) 
 });