Setting Startup Screen Using LightSwitch in Visual Studio 2012

I have described in my previous article LightSwitch Basic Application about how easily we can create a LightSwitch application using Visual Studio LightSwitch 2012. So I will be using the same data table that I created in that article only.

Introduction

In this article I will show how to change the Startup screen for our application using LightSwitch in Visual Studio 2012.

Startup Screen

The first screen that we create is the Startup screen. Or we can say that the Startup screen is the first screen that we see when we run an application..

Step 1

Open the Solution Explorer.

Image 1

sol1.jpg

Step 2

First go to "Screens" in the Solution Explorer. Then, right-click on the "Screens" folder and we will then see an "Edit Screen Navigation" option. Click on it.

Image 2

sol2.jpg

Step 3

The "Screen Navigation" tab of the Application Designer will appear.

Image 3

lig3.jpg

Step 4

In the Application Designer, select the "Create New Contact Table" node.

Image 4

lig4.jpg

Step 5

Click on the "Set" button that is given at the bottom of the Application Designer.

Image 5

lig5.jpg

Step 6

The Create New Contact Table appears in bold, that signifies that it is now the Startup screen.

Image 6

lig5.jpg

Step 7

As we will run this application, the Create New Contact Table will appear.

Image 7

lig6.jpg

Step 8

If we select the current startup screen node and then click "Clear" then we will get the following:

Image 8

lig5.jpg

Step 9

We will get an empty application shell.

Image 9

lig9.jpg