lightswitch-2012

LightSwitch: Passing data from one screen to another

谁说我不能喝 提交于 2020-01-05 06:53:25
问题 Is it possible to pass one information from one screen to another? This is my Main screen: And I want to add one of the users into where "Leiter" is written. Some idea how to manage it? Oh yeah, the data is coming from SharePoint... 回答1: In your List Detail, you need to create a Data Item to store the User Name. In the Properties for that Data Item, you then need to check "Is Parameter". When you call your second screen from the code in your SearchUserInformationLists screen, you pass the

Access Variables set in Common Project From Server Project in Lightswitch

拥有回忆 提交于 2019-12-24 08:55:47
问题 So I have redone some of the code to the previous question, however the same underlying issue remains. What i am trying to do is this: When my lightswitch application launch through Application.cs i am using a method Application_LoggedIn() to call a function in my Common Project to get all the location a user has access to (this data is stored in a table). Client Project - Application.cs partial void Application_LoggedIn() { Secure.Membership aa = new Membership(); aa.membership(); } Common

Root element is missing when trying to Publish

久未见 提交于 2019-12-23 21:12:10
问题 It has been a while since I've published my app to Azure. During that time frame, I've upgraded my system from 32-bit to 64-bit meaning a fresh install of Windows and Visual Studio. And Visual Studio Update 3 came out and was applied. When I went to publish an update today, I received the following: The following exception was thrown trying to publish: Root element is missing. My web.config file looks fine so I don't think it's this issue. The app works fine in debug mode so I don't think it