Article Details
Id: | 16313 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.02.01 |
Opened: | 07/08/2019 |
Closed: | 02/09/2019 |
Released: | 12/09/2019 |
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)
});