You are here:   Forum
Register   |  Login


Forum Notice

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


Search this forum:
Page 5 of 34 << < 34567 > >>
Last Post
LS not refresh related data after add new tables
0 1718
05 Apr 2013 11:45 AM
Dynamic Run time Choice List
Not Resolved
0 2421
04 Apr 2013 11:46 PM
Using Oracle External Data Source
1 3755
by  ClayJump to last post
01 Apr 2013 01:10 PM
Format Pattern not working?
0 2489
01 Apr 2013 07:58 AM
Geocoding with Lightswitch
0 1234
28 Mar 2013 11:12 PM
Set Default Values on Fields within a Screen
0 2736
27 Mar 2013 09:56 AM
Lightswitch HTML Navigate from variables on the URL bar
0 3097
22 Mar 2013 05:41 AM
Video Player
10 4724
by  Mash_2kJump to last post
21 Mar 2013 09:19 AM
Enity Set convert to generic funtion
0 1282
19 Mar 2013 10:10 AM
uploading Error need help with bug
0 1028
17 Mar 2013 10:02 AM
Getting Original Entity Values in LS HTML New...
Jack Stephenson
0 1664
15 Mar 2013 12:17 PM
PDF integration?
0 1787
15 Mar 2013 04:17 AM
Custom Lightswitch HTML Table Control
1 3699
by  skehoe1989Jump to last post
14 Mar 2013 11:52 AM
Data Validation and SQL query
0 1703
14 Mar 2013 01:30 AM
Use Cases for multiple instances of 2-tier app sharing the same database?
0 761
13 Mar 2013 08:13 AM
Why fields are Read-Only?
Not Resolved
2 5017
by  Michael WashingtonJump to last post
12 Mar 2013 09:03 PM
Use Cases for multiple instances of 2-tier app sharing the same database?
0 923
12 Mar 2013 07:04 PM
Selecting and Inserting Data Dynamically
Not Resolved
1 2402
by  bsmithJump to last post
12 Mar 2013 02:11 PM
Lightswitch HTML5 Delete Button not available
Jack Stephenson
Not Resolved
2 4579
by  Jack StephensonJump to last post
11 Mar 2013 10:14 AM
missing Chart-control
4 2406
by  Michael WashingtonJump to last post
10 Mar 2013 09:12 AM
Page 5 of 34 << < 34567 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I don't know how I didn't notice this before, but it appears that you can't use a lightswitch modeled query inside a RIA Service. For example, if you have a lightswitch EntitySet Orders and you use the designer to model a query OrdersByCustomer, you don't have access to that query inside the RIA Service ObjectContext. Of course you can access Orders and make the same query on the RIA Service but you can't use the same query already modeled in LS, (i.e. you can get Context.Orders, but you can't get Context.OrdersByCustomer(id)). Is that the case or am I doing something wrong?

Hi Hopefully someone can help.! I am trying to update the data source within my HTML5 Lightswitch application and I get the above error message. The only way I seem to be able to get it to allow me to update is when I don't update the SharePoint main list. (There is another list that is used for a choices menu but that one works). Doing the update without the main list removes all my fields from all screens and then when I add the main list again it all works but I would have to manually basically recreate the app as I have to add all fields again. Has anyone got any idea on what could be causing this? Within the SharePoint list I have modified it by creating Calculated columns which aren't within the app - could it be this? Is there any way to get it to work again as the user is going to want me to modify it more which will involve needing new columns(List) and screens(HTM5). Many thanks. Ryan

Hi All, New to lightswitch and love all the help the community provides in lieu of in depth MS documentation. I have been struggling with refreshing a parent screen after a save and am finally breaking down to ask the community for help after reading many articles related to this. I add button to execute opening the screen. I have the beforeShown & afterClosed events working, but when the screen opens some contentItems are populated while others have IsEnabled as false. This leads me to think it's a parameter issue. I am not sure what to pass for a new record. myapp.showAddEditTIME(parm1, parm2 {embedded function}) parm1 and parm2 escape me. Please help! Thanks in advance myapp.ViewTASK.AddTIME_Tap_execute = function (screen) { // Write code here. alert("fired"); myapp.showAddEditTIME(screen, { //I think this line is the problem. I have tried adding ', null' after screen as well. beforeShown: function (editScreen) {

Library Application
11/22/2015 7:40 PM
Hi Guys, I am trying to create an library application for keeping records of books and members. I have created three different tables: Members - which holds the member's information Books - which holds the book's information Transaction - which holds the transaction's information. I have created relationships between all three tables. I am having problem with my add transaction screen where i want to display four fields : Member Number, Member Nam, Issue Date and Return Date of the book. What i basically want is when I click on the add button in add transaction screen and when I enter the first field which is member number, it should automatically grab the member name from the database.  I can show the screenshots if required. Can someone please help me with this. Thank you 

Hi, I just noticed that in the Lightswitch HTML client, if I start entering data in an add/edit form but click the back button (or navigate away in some other way) before saving the chances, the changes are discarded without any warning. Is there any way to set up a warning in case the user accidentally navigates away from the page? Most browsers have multiple keyboard and mouse shortcuts set up for the back button, so it's not that unusual to navigate back accidentally. I'm concerned this could be an issue with my app, especially since some of my forms have a lot of fields across multiple tabs. Thanks, Matt

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