Creating Visual Studio LightSwitch Custom Controls
OData And Visual Studio LightSwitch
Creating Web Pages
Creating Web Pages 2013
Things For Sale
You are here:
This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:
Last Post 10 Aug 2011 04:31 AM by
. 1 Replies.
Most Recent First
You are not authorized to post a reply.
10 Aug 2011 03:04 AM
these nice icons is no longer appear to me. any help ?
10 Aug 2011 04:31 AM
You are not authorized to post a reply.
--Marketplace (find and offer services)
--LightSwitch Community Announcements
----DELORDSON (LightSwitch Extras)
Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers
Authentication Only for Lightswitch HTML
2/11/2016 8:00 AM
I have been doing a lot of reading about LS users, roles, permissions, authentication and authorization. My simple question is: Can we not use Windows authentication only? I would simply like to set up a table of users that can access the LS HTML application if their Windows credentials are present in the Users table. So far I have: Added a Desktop Client to my solution and named it 'Administration'.Set Access Control to 'Allow only users and AD groups specified in the Users screen...'Granted access for DebugStarted the application which brings me to the Administration pageBrowsed to 'Users' under AdministrationAdded a user, which is my user account in ADAdministration page found my user account and added it to the Users table as domainname\useraccountIt also pulled my Full Name, so I know the AD account was foundPublished the project Now, when I try to browse to my HTML client in a browser, it asks for credentials. However, using my AD account credentials does not work. No
LightSwitch 2013 - adding lightswitch classes after timeout
2/8/2016 1:22 AM
Hey, I'm building a LightSwitch 2013 HTML application. when i'm adding an html element to the DOM after timeout, it doesn't get all lightswitch classes that should be added if there wasn't a timout. For example: settimeout(function( $ul = $("<ul></ul>"); $ul.attr("data-role", "listview"); $ul.attr("data-filter", "true"); $(element).append($ul); ),100); The ul will not get all the classes that lightswitch would give if there was no timeout. Any ideas? Thanks.
Installing Lightswitch 2015 in Visual Studio 2015???
2/5/2016 3:21 PM
I have yet to get Lightswitch 2015 to work in Visual Studio 2015, either community or enterprise. I continue to get an error that the lsxtproj type is not supported when I try to create a new project?? Any suggestions?? mike mike d
Messing with Queries and Placement within Project code.
2/3/2016 11:59 PM
I am in a SQL queries class and I am thinking about how all of the parts of LightSwitch work. I like that we are doing all of these queries in code using SQL Management Studion and setting up exports to excel so I see how to manually edit them. I was wondering how to add them to a client solution manually. We Use queries in LightSwitch to create screens and filters and have buttons that export to excel. As well I use as excels ability to use Power Pivot to directly load data from a database based on what the pivot table does. Can view the queries in code if I dig into the text files built using the Visual Studio IDE and the GUI provided by LightSwitch. I need to learn how to manually place these lines of code within classes in a project solution so I can start work on making the same queries embedded in WPF. LightSwitch embeds them in solution parts for Silverlight I assume. I guess I just want to learn the basics of how to embed SQL statements and
Object Reference not set error when published but fine when debug locally
2/1/2016 11:22 PM
I have some code that runs under _Inserting on the Jobs table on the server. I also have a System table with a single record and a property of the LastCode (Last JobCode used in a record). DataWorkspace dw = this.Application.CreateDataWorkspace(); Job result = (from j in dw.Data.Jobs.OrderByDescending(Job => Job.JobCode) select j).FirstOrDefault(); System system = dw.Data.System.FirstOrDefault(); Int32 LastCode = int.Parse(result.JobCode); Int32 NewLastCode = LastCode + 1; system.LastCode = NewLastCode.ToString(); dw.Data.SaveChanges(); Which was created out of this post. If I place it in the _Inserted table it fails locally and when published, however running from _Inserting in debug mode locally on the machine works perfectly fine. When I publish this to Azure (V11 DB currently) everything else seems to work however when I try and add a Job I get "Object reference not set to
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation
Copyright 2015 by Michael Washington