OpenWindow

OpenWindow

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

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.