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

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...
andydrury
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 9 guests(s) online.
There are 0 of 11916 member(s) online:  

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Hi All, I’m trying to filter data according to permissions for currently logged in user. The problem is that I have multiple permissions which I would like to combine for different users. Below code works only for one permission. If I add more than one, it simply uses only one and ignores all other filters. How can I achieve this? Thank you very much in advance, Here is the code I’m using: partial void tblHolidayRequestsSet_Filter(ref Expression<Func<tblHolidayRequests, bool>> filter) { if (this.Application.User.HasPermission(Permissions.CanAuthoriseBlueTeam)) { filter = eb => eb.tblEmployees.tblAuthorisationGroup.AuthorisationGroupName == "Blue Team"; } if (this.Application.User.HasPermission(Permissions.CanAuthoriseGreenTeam)) { filter = eb =>
Read more...

I will ask the professionals: 1.  I am registering Pullers for a tractor pull in real time. 2.  I have online Azure SQL database.  Lightswitch 2013.  With your help, almost everything is working as expected or better than expected. Let's start out with Common set of screens.  Tile list in Browse Hooks screen with default Add button on bottom that takes me to Add/Edit Hook screen.  I use autocomplete box to select PullSchedule, then use that selection with a PullClassesByPullSchedule query to give me my choices for next autocomplete box.  I then select the exact PullClass.  Works great.  The Add/Edit Hook screen creates a record in the Hook table with PullSchedule, PullClass, Puller, Vehicle, (all selected with autocomplete boxes or Add buttons on the bottom), and finally an integer field for the HookNumber.  3.  Now I need to assign a HookNumber to the new Hook I am creating.  I can do this in various ways.  What's
Read more...

I have a field that pulled from a computed field in SQL, but I recently removed the formula from that particular field, updated the database in lightswitch, yet the property is still read only in lightswitch. I've tried deleting and re-adding it, but the lightswitch app doesn't seem to register that the once-computed field is no longer computed and should be editable. Is there any way around this?
Read more...

Hi, I am able to get the original values for native properties of a table, but how can i get the original value for properties releated with another table. Here's my code.   Dictionary<string, string> originalValues = new Dictionary<string, string>();            foreach (var prop in entity.Details.Properties.All().OfType<IEntityTrackedProperty>())            {                if (prop.OriginalValue != null)                {    originalValues.Add(prop.Name.ToString(), prop.OriginalValue.ToString());                }            } Any help on this?
Read more...

Hi all, I've been trying to exclude a few records from a query-result by using the preprocess method of the query object. The scenario I'm trying to achieve: exclude all products already chosen in orderdetailrecords from a products-pulldownlist when adding a new record as orderdetail. I'm have come up with this code, query is called TestProduct, orderID is fixed for testingpurposes to 685 returning two products to be excluded from final result:         Private Sub TestProduct_PreprocessQuery(ByRef query As System.Linq.IQueryable(Of LightSwitchApplication.Product))             Dim myOrderDetails = Me.DataWorkspace.ApplicationData.OrderDetails.GetQuery().Execute()             Dim productsCurrent = From myOrderDetailsSelect In myOrderDetails Where myOrderDetailsSelect.Order.orderID = 685 Select myOrderDetailsSelect.Product             'Make productscurrent
Read more...

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