Search code examples
visual-studio-lightswitchcomputed-field

Computed Property as Summary in Lightswitch


I'm creating a Lightswitch project where I have a table of users. The table has FirstName and LastName columns, but when selecting users in other controls I want to display "Firstname LastName".

I've created a computed "FullName" field which concatenates the two fields, but when I selected this field as the summary property, controls listing users still show the first real string property found.

I'm guessing this has something to do with the FullName field not being a real field. Is there a way to make the FullName field a real field, which updates automatically when FirstName or LastName changes?


Solution

  • Turns out the drop down I was using was just the property selector, not the summary property. I wasn't seeing the summary property field because I had server selected at the bottom rather then client.