Top
Top
LibraryEASYProcess Reference ManualProcessesServicesHtmlWorkshopOpenWindow

OpenWindow Overview

OpenWindow can be used to open either an inline modal window or a new browser window from inside a process. This is useful if there is a certain condition or conditions which need to be met for the window to open.


OpenWindow Use Example
Workshop:HtmlWorkshop
Service:OpenWindow
Inputs
WebPartId

The WebPartId of the webpart that the window will open.


WindowMode

There are two options. Modal/Inline which opens a windows inside the existing page. NewWindow which opens a new browser window.


FriendlyUrl

The url that the user will see. The page will actually go to the WindowUrl which must be a valid url.


EncryptQueryString

Valid values are true or false. True to encrypt the query string False to keep them as plain text.


WindowParameter

Specify properties that the window that opens will have. For example width, height, scrollbar, etc.


WindowUrl

The url that the window will go to. If left blank will use the default for webparts.


Title

The title that the window will have when it is opened.


OpenWebPartWindow

If specifying a WebPartId set to True. if specifying a WindowUrl set to False.


OpenWindowScriptFunction

Parameters

Right click to add new parameter. These will be passed in as query strings.


Parameter

A parameter that will be passed into the window.


Name

The name that the parameter/querystring will have.


Value

The value that the parameter/querystring will have in the window.


Outputs
JavaScript

OpenWindow Use Example

On the shopping cart before a user can checkout they may be required to login. Instead of forwarding the page to the login page a login window can be opened.

We have a shopping cart webpart with a proceed to checkout button. The button process has a check to see if the user is a guest meaning they are not logged in. If the user is a guess a login window will be opened. The process looks as follows:

The OpenWindow service is set up as:

The window that will be opened looks like:

After the user logins the window will close and the page will get directed to the checkout page since the user is now logged in.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).