Lightswitch HTML Client 2013 - Navigation property load works Intermittently on phone, but works all the time in desktop browsers
Hi,
I have this code which is adding a record and re-loading a navigation property "ldDailyLogDetails_FK".
afterClosed:
function (viewScreen, navigationAction) {
if
(navigationAction === msls.NavigateBackAction.commit) {
screen.ldDailyLogDetails_FK.load();
It successfully adds a record and then redisplays this new record on all browsers, but on my phone it adds the record ok, but sometimes, it dosnt seem to refresh (or load) the page with the new record.
I also wonder if there is any place I might go to get some "phone vs desktop browser" information and advice?
I have tried screen.ldDailyLogDetails_FK.refresh(); as well.
david
Hi David,
From your description above, it seems that this issue happens occasionally. At the same time you can also use some tool to test your lightswitch application, such as:
Fiddler, it will be helpful to troubleshoot.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
I use to use the edge detection tool all the time but now I can't, how do I get it to work again. When I try to use it, it will show the o with the line in side.
A lot more information about your hardware and software is needed.
BOILERPLATE TEXT:
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
a screen shot of your settings or of the image could be very helpful too,
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
just started after updating to newest firefox. I will go on my email, check out what's going on and then when I try to click on another email it stops working, and my hand icon gets bright and transparent as if to tell me this program is locked or frozen. I close, reopen, works fine for a few emails, and then does it again. very frustrating. I was fine with the old firefox, can i get it back?
Thanks, Peggy Smith
[email protected]I am having the same problem. I have just tried this. Unplug iphone > open itunes > delete all music from itunes library > close itunes > re-open itunes > add music from original folder > plug in iphone > select songs > press sync > unplug iphone using eject button onscreen > checked phone .... still nothing in music folder on phone. On itunes the "On this iphone" tab the songs remain there but greyed out.
-
Updating Multiple entities Programmatically in LightSwitch Html Client 2013
hi,
How to Update Multiple entities When Updating One entity in Server Side ?
Thanks in Advance...You'll probably need to give a little more information about your particular scenario but if you're doing this update server side using the updating method of your entity then you have access to do what you like with any record/entity.
If the entities are related then it may just be a case of a statement like:
YourEntity.YourRelatedEntity.SomeProperty = "Hello world.";
Or you could call a entity specifically from another table and update it accordingly:
AnotherTable ent = DataWorkspace.ApplicationData.AnotherTable.Where(r => r.id == 5).FirstOrDefault();
if (ent != null)
ent.Description = "Hello World.";
Hope that helps you.
Paul. -
popup appears out of nowhere reading "We noticed you may have signed in or signed out in another window. Click OK to reload your page" Leads you to sign in again.
This is not a problem with the old Flock, Chrome, or IE, just Firefox.
It appears that anytime one leaves mail or personal home page and goes to a website, a sign-in is required to get back to mail or personal homepage.
I have run out of ideas using tools-options, etc. setups.
I am addressing Firefox 4.0.1, and Windows XP
ClarenceCleared everything, several time over several days, no change.
Still have not diagnosed the problem and I have made a lot of changes, including re-loading M.FireFox 4.0.1 with ATT Yahoo vers. 1.8
It sometimes appears that the sign-in times out, although I tried signing in for 2 weeks and also 1 day. ATT Yahoo has a sign-in seal one can setup and use. It is fine and works only that one day or until one signs out, than it is history.
Clarence -
i plugged in my 18 month old iPhone to charge it, using the cable that came with it and that I have used regularly all along. I got a warning on my phone screen saying the cable is not certified and may not work properly with my iPhone. Why?
If you updated iPhone to iOS7, it now checks for real Apple Lightning Cable. Your cable may not be Apple, or someone swapped another cable with yours. Make sure the cable end is clean, take a clean dry toothbrush and carefully clean charging port on the iPhone.
-
The whoosh sound is not working on out going mail. I've done everything in settings etc... Mute is not on... What the heck??? Any ideas?
Settings>General>USE SIDE SWITCH TO>Lock Rotation.
Make sure sound is not muted in Control Center (little bell)
http://i1224.photobucket.com/albums/ee374/Diavonex/ac7f6dc314aca5d618ac2f55616be 20e_zpsa92a3ebd.jpg -
i think a lot of people have the same issue with apple iphone so if someone can help me to fix it.
I'd like to confirm that I am suffering from the same issue with my 3 week-old iPhone 4S. I, too, need to turn flight mode on and off in order to convince my phone to switch back from a Wifi connection to 3G. So far I have tried the following:
- Received a new SIM from O2 here in Germany
- Restored my phone from backup
- Restored my phone as a new device
- Installed iOS 5.0.1
- Received a replacement phone from Apple
None of the above have rectified the situation, nor made any difference at all. Neither the Apple support hotline nor the Genius Bar employee had any idea what could be causing the problem. The only thing I have not yet tried is a SIM from another provider. I'm wondering if this is a problem with the iOS in combination with the setup of certain providers.
For those of you who speak german, you can follow the thread on the O2 forums here, where many users are having the same issue: http://forum.o2online.de/t5/iPhone/nach-Wlan-keine-mobile-Daten/td-p/175228/high light/false -
Can't load website with .jsp - get blank page? Doesn't happen all the time
When I try to open American Eagle Outfitters website, I get a blank page and it will not open. The site is ending in index.jsp. I have 3 computers and it does it sporatically on all 3. ie. 1 may open the website, 2 won't or 2 might open website and 1 won't or none of the 3 will open. I know this has to be something simple but it has been doing this for about 3 months and it is driving me nuts because I can't get on there to pay my bill or even shop! Help!!
ThanksI'm having the exact same problem! I've been using the website a lot recently, and then just about a week ago the website just wouldn't load. The page would go white and would say "Done" at the bottom of the screen. I tried googling the website to try and go in through there, and I can only seem to enter the site through "Find a Store Near You". Only this page seems to work, and whenever I click on "Women" or "Clearance" or "WishList" or anything else the page just goes white again and won't load. I've googled "websites won't load" and I've tried all the suggested steps and nothing seems to be working. I order off AE all the time and was ready to place an order, which I now can't do because I can't even sign in to the website.
If you figure out how to fix it, email me at [email protected] -
My iPad mini home button doesn't work all the time
When I click the home button on my ipad, it doesn't do anything. If I try a few more times then it will work once or twice. But not all the time.
Calibrate Home button
1. Open a stock application e.g. Calendar or Youtube
2. Hold down the power button until the "slide to power off" control appears
3. as soon as you see it, press the home button and keep it pressed until the red slider disappears and the app is force quit to the home menu -
SSRS reports from Lightswitch Html Client
I have created a Lightswitch desktop application that list the available reports that are stored in a table and also provides a button that when clicked launches the web browser to the URL for the report on the SQL server. My problem is now I'm trying to
create the HTML client for the application and have no experience with Java Script. Does anyone know how to accomplish the something that I did on the desktop application on the HTML client?
Below is the code that I used to open the URL in the browser in the desktop application.
Imports Microsoft.LightSwitch.Threading
Imports System.Runtime.InteropServices.Automation
Namespace LightSwitchApplication
Public Class ListReports
Private Sub RunReport_Execute()
' Write your code here.
Dim uri As New Uri(ReportsSet.SelectedItem.ReportAddress) 'website stored in the ReportsSet.ReportAddress field
If (AutomationFactory.IsAvailable) Then
Dim shell = AutomationFactory.CreateObject("Shell.Application")
shell.ShellExecute(uri.ToString)
ElseIf (Not System.Windows.Application.Current.IsRunningOutOfBrowser) Then
System.Windows.Browser.HtmlPage.Window.Navigate(uri, "_blank")
End If
End Sub
End Class
End NamespaceThis may help:
Creating Reports in LightSwitch HTML Client
// Show Loading message
var LoadingDiv = $("<div></div>");
var Loading = $("<h1> Loading Report...</h1>");
Loading.appendTo(LoadingDiv);
LoadingDiv.appendTo($(element));
// Get Report
var HTMLContent = $("<div></div>").html(
"<object width='650px' height='650px' data='../reports/ReportViewer.aspx?SurveyId="
+ contentItem.screen.SurveyId + "'/>"
// Make report appear on top of the Loading message
HTMLContent.css({
"margin-top": "-50px"
HTMLContent.appendTo($(element));
Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
http://LightSwitchHelpWebsite.com -
Extending Screens for Multi-Select in the LightSwitch HTML Client
Hi i
read Mike Droney's article of
Extending Screens for Multi-Select in the LightSwitch HTML Client
But i just want to understand the code, so what is the ‘__isSelected’ property? from where does it come?
why does the contentItem.value.details have an ‘__isSelected’ property?
is the value of the contentItem not the screen?
and also how can i implement the ‘Can Execute Code’ only if one or more check boxes are checked?
ThanksBut i just want to understand the code, so what is the ‘__isSelected’ property? from where does it come?
why does the contentItem.value.details have an ‘__isSelected’ property?
is the value of the contentItem not the screen?
and also how can i implement the ‘Can Execute Code’ only if one or more check boxes are checked?
The '__isSelected' property is a private member of the class msls.ContentItem related to the backing data for the selected item. That is to say, it would be a private member if JavaScript actually had encapsulation and information hiding like a typical
object-oriented language. I like to reference David Herman's description from his book
Effective JavaScript:
Often, JavaScript programmers resort to coding conventions rather than any absolute enforcement mechanism for private properties. For example, some programmers use naming conventions such as prefixing or suffixing private property names with an underscore
character (_). This does nothing to enforce information hiding, but it suggests to well-behaved users of an object that they should not inspect or modify the property so that the object can remain free to change its implementation.
...which means that it's generally not recommended to directly get or set backing data properties like __isSelected, instead working with the public property 'selectedItem', although it may work fine in certain cases like this one.
To make _canExecute fire only when an item in the list is selected to enable a button method, try:
return (screen.Contacts.selectedItem !== null); -
Lightswitch HTML Client - Detail picker for each related List Item
I have a doubt in Lightswitch Html Client application.
Scenario:
Suppose i have two tables "Property" and "PropertyVaues".
A Property can have many PropertyValues is the relationship between them.
I want to show the data on screen like below:
Property List:
XYZ [___10____(+)]
MNO [___abc____(+)]
PQR [___30.5___(+)]
Xyz is the list item
assume [___10____(+)] is the detail picker of
PropertyValues which allow to select one value related to
XYZ Property item, and same for other list items.
Only Related "PropertyValues" for each list item must be available in the detail picker.
Please help me out if any one has the solution to solve it.
Or you can give me any other way to accomplish the above scenario.
ThanksHello Josh,
I am implementing it on AddEdit screen.
(1)
(2)
Screen description:
[Note: Some Images are in my next post]
1. Image(1) shows the list of properties (GSM, Mill Name, CMS). These Properties have its respective property values in drop down.
2. When i select any value from the dropdown list (eg. 10 from GSM). the value is assigned to all other drop down.
[shown in image(3) next post]
(4) Again when suppose i select value for "Mill Name" Property as "Abc", it is assigned to all other drop down.
[shown in image(4) next post]
I want that a property value must be assigned to its respective Property only.
Please help me on this. Or suggest me another way out to accomplish such scenario.
Thanks
Ravi Patel -
Little circle turns/ page doesn't load/ problem triangle comes up almost all the time
The little connecting circle comes on and turns no matter what -- whether it's from a bookmark, an email, a typed in address. It turns and turns, then either times out or says problem loading page ALMOST all the time (I can't figure our why or why not). I just downloaded the latest versions of both Firefox & Thunderbird. I check my AVG and Firefox has a clear pass.
It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
*https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Create a new profile as a test to check if your current profile is causing the problems.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.
"Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
"Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
Your plugins list shows outdated plugin(s) with known security and stability risks.
*Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
Update the [[Java]] plugin to the latest version.
*http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
Maybe you are looking for
-
I am a premium subscriber to AcornTV. I have been unable to stream video on my home MacBook Pro (OS 10.6.8) using Firefox 3.6.12. I can easily stream Hulu, iTunes, Netflix, etc, but NOT AcornTV. I have tried the AcornTV player on Safari, Chrome and F
-
Section header with portrait and landscape view
My iBook project is being created so that it is available in both portrait and landscape view. This has been a tricky process since alot of content was distored when I created the layout using landscape and then attempted to adjust the portrait view
-
Full start up disk... problem with disk partition.
Hi, Ive got an original blueberry ibook which an ex, who considered himself some sort of high flying computer buff, decided to fiddle with... In his vast wisdom he deemed that my ibook would run better if he partitioned the start-up disk. The result
-
Re: (forte-users) Unstable server ENV after upgrade to Forte30M2.
I see/suggest a few things: 1) In your #1, you mention ".... development and test environments which use the same Forte 3M installs through links ...". This concerns me. On our UNIX box each environment has it's own directory containing it's own inst
-
Please help, running oracle 8i on win 2k system
Hello, I have been trying all day to get oracle working on my system. I am not networked as I am using it only on my win 2k system. everything installed fine, but some of the programs arent even working...i dont understand why it installed successful