You are here:   Forum
Register   |  Login


Forum Notice

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


Default Group Toggle Group Display
-- Forums Topics Replies Last Post
LightSwitch Hackers LightSwitch Hackers
For those that want to take LightSwitch as far as you can take it!
182 371
Lightswitch and ASP.NET I...
by rbrogan
05 Aug 2013 10:17 AM
Marketplace (find and offer services) Marketplace (find and offer services)
Looking for people or products, or have services or products to sell related to LightSwitch
18 17
LightSwitch Solutions Dev...
by netsuper
17 Mar 2014 08:33 AM
LightSwitch Beginners LightSwitch Beginners
673 1378
Sorting by relation
by Xaser512
22 Aug 2013 01:07 AM
LightSwitch Tips LightSwitch Tips
Post any tips about Lightswitch that you wish to share
23 110
RE: Creating A WCF RIA Se...
by admin
26 Jul 2013 05:05 AM
LightSwitch Community Announcements LightSwitch Community Announcements
Post what is going on in the LightSwitch Community
113 107
RE: A LightSwitch HTML cl...
by admin
31 Jul 2013 04:25 AM
LightSwitch Hosting LightSwitch Hosting
Discussions related to Hosting LightSwitch Applications
21 30
Deploying Lightswitch app...
by profesorkind
15 Aug 2013 05:09 AM
Vender Forums Vender Forums
Forums for LightSwitch Marketplace venders
0 0

DELORDSON (LightSwitch Extras) DELORDSON (LightSwitch Extras)
Forum for product feedback and issues
15 27
Issues with Jetpack Theme...
26 Apr 2013 02:37 AM
SoCal LightSwitch User Group SoCal LightSwitch User Group
0 0

General Discussion General Discussion
Welcome to SoCal LightSwitch User Group
3 0

Who is online:
There are currently 1 guests(s) online.
There are 0 of 12290 member(s) online:  

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I am using Microsoft LightSwitch framework, need to add dynamic items in choice list. So far I found different posts saying that choice list is only for static items and you have to use a separate table if you need to populate it in non-static means. In my case, table will also not be a good option, I want to add items manually from C# code. Actually I need to populate years combobox, for this I need to add last 3 years, current year, and one next year. This I could not achieve through static data or TABLE will also be not a good idea. Muhammad Idrees

Lets suppose that you have a Customer Entity. You have configured Row Level Security (RLS) so that the current user can only see the Customers that she/he created. From withing the Lightswitch Clients (Silverlight or HTML) it is impossible to Read, Delete or Update Customers that the user can´t read because of the configured RLS. You need to "see" the customers in a Screen in order to invoke Delete or Update Operations. But... Now you connect to the middle tier of this app from another external client (for example a WPF client). Lets suppose that you know the Id of a specific Customer that the RLS prevents you from reading (Id=124 for example) and you try to delete this customer sending HTTP commands to the oData endpoint... Will the middle tier prevent you from deleting the Customer with Id=124 ? I was trying to simulate a Delete Operation with fiddler but I was not able to achieve this.

Create hook not firing on add
10/8/2015 8:47 AM
Created a simple entity and wanted to set default values. Added code to the created hook. But it's never called even after I have saved my add/edit window

I having a problem coding an AddEdit Screen. When I use the Lightswitch existing method  to add an item the screen However I am trying to implement this using code from Michael Washingtons's book : myapp.ViewAssetRegister.AddAssetDepreciationAdjustments_Tap_execute = function (screen) { // Write code here. myapp.showAddEditAssetDepreciationAdjustments(null, { beforeShown: function (addEditScreen) { // Create new AssetDepreciationAdjustment here so that // discard will work. var newAssetDepreciationAdjustment = new myapp.AssetDepreciationAdjustments(); addEditScreen.AssetDepreciationAdjustments = newAssetDepreciationAdjustment; }, afterClosed: function (addEditScreen,navigationAction) { // If the user commits the change, // update the selected order on the Main screen if (navigationAction === msls.NavigateBackAction.commit) {

I have the following code on an inserting method in a CBA. partial void CapitalAllowanceAllocations_Inserting(CapitalAllowanceAllocations entity) { int assetRegisterID = 1355313; int capitalAllowanceCategoryID = 1; decimal percentage = 0.50m; //int assetRegisterID = entity.AssetRegister.AssetRegisterID; //int capitalAllowanceCategoryID = entity.CapitalAllowanceCategories.CapitalAllowanceCategoryID; //decimal percentage = entity.Percentage; using (SqlConnection connection = new SqlConnection()) { string connectionStringName = this.DataWorkspace.WahacaData.Details.Name; connection.ConnectionString = ConfigurationManager.ConnectionStrings[connectionStringName].ConnectionString; string procedure = "finance.CalculateCapitalAllowanceTotals"; using (SqlCommand command = new SqlCommand(procedure,

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