Skip to content

Open Popup

To open a popup in page

Parameters

ParameterstypeDescription
popupIdStringUnique Id of Popup
popupParameters ?(optional)Objectspecify popup parameters as objects

Syntax

kf.app.page.openPoup(popupId, popupParameters);

Example

Consider there is a process form inside Popup and popup parameters are mapped to instance and activity instance id property of the process form. In such case we can pass in those values as popup parameters

let popupParameters = {
instanceId: "acdnd",
activityInstanceId: "mnop"
};
kf.app.page.openPopup("popup1", popupParameters);

Returns

Returns a instance of Popup