To create a local property in LightSwitch Visual Studio 2012
In this article describe how to create a local property in LightSwitch Visual Studio 2012.
Steps for creating a local property
Step 1
Open the Solution Explorer.
![solu explo.jpg]()
Step 2
In Solution Explorer, open the HTML client screen to which you want to add a group of information.
![htmlscreen open.jpg]()
Step 3
The Screen Designer appears.
![designer.jpg]()
Step 4
In the Screen designer, choose the Add Data Item option.
![add data item.jpg]()
Step 5
The Add Data Item dialog box appears.
![add data item dialog box.jpg]()
Step 6
In the Add Data Item dialog box, choose the Local Property option.
![local prop.jpg]()
Step 7
In the Type list, choose a type for the local property. You can choose any of the types, such as String, Integer, Email Address, etcetera.
![type local prop.jpg]()
Step 8
Select the "Is Required" check box if you want that this field must contain a value.
![local prop.jpg]()
Step 9
In the Name text box, enter a name for the property, and then select the "OK" button.
![localprop1.jpg]()
Step 10
The local property appears in the Screen Members List.
![memberlist.jpg]()