Home Dashboard Directory Help

Entity screen binding gone (entity details screen) by Ales Potocnik Hahonina


 as Not Reproducible Help for as Not Reproducible

Sign in
to vote
Type: Bug
ID: 682950
Opened: 8/4/2011 2:35:44 AM
Access Restriction: Public
User(s) can reproduce this bug


When you create a new screen (detail screen in my case) you can tick a check box to specify if it's used as default. From what I can see this is then stored as EntityType.Attributes -> DefaultScreen node in ApplicationDefinition.Isml. I had an issue with this binding being gone all of a sudden when I changed something on the detail screen which may have caused the screen to become invalid (run time error). When I ran the LightSwitch application it would show the stock detail screen instead of the custom one. When I removed possibly offending changes it would no longer show the custom detail screen.

Luckily I had a backup of entire application and when I compared the .Isml files I noticed that above mentioned node was missing. Manually copy-pasting the node from a backup fixed the binding issue.

Not sure if this is intended behaviour - if you mess up the screen, show the default but I would much prefer to see a run time error, especially when running in debug mode. And certainly the binding should not be changed quietly.
Sign in to post a comment.
Posted by Microsoft on 9/9/2011 at 4:45 PM
Hi Ales,

Since we haven't heard back from you we're going to go ahead and close this issue for now. If you're still seeing the problem please re-open the issue.

John Hart
Posted by Microsoft on 8/15/2011 at 2:10 PM
Hi Ales,

Thanks for reporting the issue. Can you help us by providing more detials on the problem? What issues or errors are you seeing?

John Hart
Sign in to post a workaround.
Posted by Ales Potocnik Hahonina on 8/4/2011 at 2:36 AM
Recreate the EntityType[Name="[EntityName]"]/EntityType.Attributes/DefaultScreen node