You are here:   Forum
Register   |  Login

 

Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Unanswered
Topic Replies Views Last Post
What is the reason lightswich adds and removed the S character pulled from a database. Is there a way to turn it off
by twic in LightSwitch Beginners
0 776
07 May 2013 01:28 AM
Issues with Jetpack Themes HELP!!!!!
by Andy Drury in DELORDSON (LightSwitch Extras)
0 1588
26 Apr 2013 02:37 AM
Filtering a field using first letter
by DAL in LightSwitch Beginners
0 913
24 Apr 2013 09:38 AM
SQL Server 2012 R2 Express & Lightswitch
by in LightSwitch Beginners
0 2038
23 Apr 2013 01:55 PM
Create new record - Dynamic data
by Kevino in LightSwitch Beginners
0 1300
22 Apr 2013 01:15 AM
How to Deploy Light Switch application to Windows Mobile?
by Ragavan in LightSwitch Beginners
0 1048
16 Apr 2013 11:55 PM
What is the default Username and Password for LightSwitch HTML client login
by Ragavan in LightSwitch Beginners
0 2064
16 Apr 2013 11:45 PM
HTLM Camera/Signature Control?????
by Jim W in LightSwitch Hackers
0 1465
13 Apr 2013 06:52 PM
Errors with Forms Authentication in HTML client
by Larry in LightSwitch Beginners
0 2073
11 Apr 2013 09:02 PM
Extension business type
by Humberto Reis in LightSwitch Beginners
0 637
09 Apr 2013 05:51 PM
How to loop through all tables
by magmuggy in LightSwitch Beginners
0 1286
05 Apr 2013 10:55 AM
LS not refresh related data after add new tables
by francisco in LightSwitch Beginners
0 1501
05 Apr 2013 10:45 AM
Dynamic Run time Choice List
by Ragavan in LightSwitch Beginners
0 1953
04 Apr 2013 10:46 PM
"Format Pattern" not working?
by Corrado in LightSwitch Beginners
0 1935
01 Apr 2013 06:58 AM
Geocoding with Lightswitch
by zack142 in LightSwitch Beginners
0 1086
28 Mar 2013 10:12 PM
Set Default Values on Fields within a Screen
by Michael in LightSwitch Beginners
0 2220
27 Mar 2013 08:56 AM
Lightswitch HTML Navigate from variables on the URL bar
by Pedro in LightSwitch Beginners
0 2543
22 Mar 2013 04:41 AM
Enity Set convert to generic funtion
by jbaillie in LightSwitch Beginners
0 1111
19 Mar 2013 09:10 AM
uploading Error need help with bug
by jbaillie in LightSwitch Beginners
0 842
17 Mar 2013 09:02 AM
Getting Original Entity Values in LS HTML New...
by Jack Stephenson in LightSwitch Beginners
0 1401
15 Mar 2013 11:17 AM
Page 3 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Week No. By Date
5/28/2015 8:06 AM
Hi guys, A Simple question. How to find the Week No. of TODAY  and By a given Date of the year. In a Preprocess Query, Light Switch - VB Param Singh
Read more...

Hi, I need to get table property attribute "DisplayName" from model. I used Justin Anderson tip to get the list of entity types without using a data workspace for entities and properties IEntityType entityType = this.Application.Details.GetModel().GlobalItems.OfType<IEntityType>().Single(e => e.Name.Equals(entityName, StringComparison.Ordinal)); IEntityPropertyDefinition entityProperty = entityType.Properties.Single(p => p.Name.Equals(propertyName, StringComparison.Ordinal)); and it works great! But how can I get entity property attribute like "DisplayName" value? I used Microsoft.LightSwitch.Model.IAttribute attribute = entityProperty.Attributes.Single(a => a.Class.Name == "DisplayName") it fails :(
Read more...

Hello everyone,  I am doing a practical semester right now and got a task(with Light Switch), where I am kinda stuck right now. I never worked with Light Switch before, but i read myself into it. I am not a native speaker so excuse some mistakes, I try my best to make my question as clear as possible. My boss showed me a simple example in MS Project which he created while explaining. Image:  htt p://imgur.com/1WqgcUR I just rebuild it in Excel. Sadly I am not allowed to post a picture directly. So basically (as far as i understood him, because sadly, he is sick this week), I have to store everything in Table 1 , and connect them in Table 2 together. In this example: Dell Latitude Exx is available at Amazon and Home Depot.  In Table 2 : Column 1 = Shop, Column 2 = product.      // forgot to name them in the picture I just hope i understood it right and could somehow explain it. Now my problem: building a table-construct like above is
Read more...

Hi, I have a Lightswitch HTML client that is deployed using Forms Authentication, there is also a web based Silverlight AdminClient that is used to administer/create users and roles.  Although the underlying ASP.NET Membership framework supports email addresses for users, the Silverlight admin screens don't? They just provide the Name and FullName fields. Any reason for this? As it would be very useful to be able to store the email address along with the username! Does anyone have a work around? Regards Simon
Read more...

Hi, I need to lookup entity properties Name and DisplayName. Something like Ticket ticket = new Ticket(); var _list = new List<LookupTicketField>(); foreach (var prop in ticket.Details.Properties.All().OfType<Microsoft.LightSwitch.Details.IEntityStorageProperty>()) { var field = new LookupTicketField(); field.Value = prop.Name; field.DisplayName = prop.DisplayName; _list.Add(field); } Can I get this from entity model without creating an instance of an entity? Thanks
Read more...

1234
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation