Posts

Post not yet marked as solved
1 Replies
If anyone is interested, I was able to resolve this issue by adding an extra blank document between the two screens that have a form template. So, when second screen was added, I added the blank document. Blank documents listens to an `appear` event for when navigating back to it from the second screen. And when that happens, it gets removed from the stack and navigation goes back to first screen with form template. Here is an example of the code:- At this point, first screen with form template is already shown and user hits the button to go to the password screenCode:await viewUtils.pushPage(VIEWS.LoginPassword, this); this.blankScreenLoaded = true; // following lines allow the username screen form to regain focus // when navigating back from the password screen const blank = await viewUtils.insertPageBeforeDocument(VIEWS.LoginBlank, this); // this function parses xml, inserts document and returns it blank.addEventListener('appear', () => { if (this.blankScreenLoaded === true) { this.blankScreenLoaded = false; presenter.removeDocument(VIEWS.LoginBlank); } });LoginBlankScreen.xml<?xml version="1.0" encoding="UTF-8" ?><document><divTemplate></divTemplate></document>Hope it helps!
Post not yet marked as solved
12 Replies
Hi all,Any updates on this one? It was working fine for me about a 1.5 month ago. I had to buy some new HDMI - VDI converters thinking the one I had broke down. But still no luck. Monitor (HP 2010i - 1600x900 - VDI, VGA ports) goes to sleep. That resolution does not seem to be supported by Apple TV 4K. Thanks,