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.
Step 2
In Solution Explorer, open the HTML client screen to which you want to add a group of information.
Step 3
The Screen Designer appears.
Step 4
In the Screen designer, choose the Add Data Item option.
Step 5
The Add Data Item dialog box appears.
Step 6
In the Add Data Item dialog box, choose the Local Property option.
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.
Step 8
Select the "Is Required" check box if you want that this field must contain a value.
Step 9
In the Name text box, enter a name for the property, and then select the "OK" button.
Step 10
The local property appears in the Screen Members List.