Add New Solution Explorer View in LightSwitch 2012

This article explains how to add a New Solution Explorer View in LightSwitch using Visual Studio 2012.

Step 1

Open the Solution Explorer.

soi Ex.jpg

Step 2

In the Solution Explorer, right-click on the Server and choose "Add Table". 

add tab.jpg

Step 3

The Table appears in the designer window as shown below.

table.jpg

Step 4

Now right-click on Data Source and choose "New Solution Explorer View" as shown in the figure below.

new solution explorer.jpg

The Data Source will be added to the New Solution Explorer window as shown below.

new sol exp add.jpg

Now right-click on the Data Source and choose "Add table" from the New Solution Explorer.

add table in new sol exp.jpg

We will notice that the Data Source in the New Solution Explorer will no longer be present. (The items in this view are no longer available.)

empty new sol exp.jpg

The table will be added automatically in the old Solution Explorer.

company.jpg

Step 5

In the Solution Explorer, right-click on the Screens and choose "Add New Solution Explorer View"
.

new sol exp screen.jpg

The Screen will be added to the New Solution Explorer window as shown below.

add src.jpg

Now right-click on Screens and choose "Add Screen" from the New Solution Explorer.

add src.jpg

The Add New Screen dialog box appears. Select the "New Data Screen" from the Screen Template, under screen information, choose "Employee" under screen data and provide a name to the Screen and click the "OK" button.

new data src.jpg

The screen designer appears in the old Solution Explorer.

add screen.jpg


Similar Articles