Dirk Wessels on Sun, 31 Mar 2013 03:53:39
Where do I find documentation for Lightswitch HTML client? I asked <a href="http://social.msdn.microsoft.com/Forums/en-US/lightswitchhtml/thread/ca249a80-b80b-4e43-9ebb-9a75c5f5383f">this question</a> yesterday and got a good enough answer, but now that I know what method to you, I want to access my data on the screen within that method. However, I can't get Intellisense to show my variable (a local property on the screen) and I can't find anything in Google (I mean Bing, of course) about the onsavechanges method.
Is there a detailed API available for the Lightswitch HTML client? Or how does one go about getting to know what you can do where.
David Ching on Sun, 31 Mar 2013 16:03:24
ChristopherDeMars on Mon, 01 Apr 2013 16:28:20
You will find much of the API in the LightSwitch Blogs on MSDN. There is a blog post in there about the new API's in CTP4. I know this is not "official" documentation, but there isn't anything 'official' available right now.
Huy Nyguyen from the Microsoft LightSwitch team has said a number of times that some sort of 'official' documentation will come out when LightSwitch goes into its first full production version (it's still in beta). We do not have a date from Microsoft of when that will be, and all attempts to fetter it out of them have proven fruitless (I believe they are instructed to keep silent on release dates and such since exact dates and information could potentially change).
Huy and Heinrich have both admitted that the CTP4 intellisense has issues, especially with large projects. The have stated that they will do what they can to make this better in the final release version of LightSwitch.
In the meantime, make sure that this line of code is that the top of all your code files to ensure that intellisense is being used in that file:
/// <reference path="../GeneratedArtifacts/viewModel.js" />I hope this helps at least a little...