Last week, at Snowforce in Salt Lake City, I saw a demonstration of the Lightning App Builder and decided that I wanted to make a Lightning component of my own. I thought the best thing to do was to follow the quick-start PDF, and was quite proud of that. I made the text say “Hello David!” which seemed like a good start. Mike Gerholdt then challenged me to render the word “David” dynamically, pulling from the running user. I checked the documentation, and there is no $User global variable as there is in Visualforce, so I was faced with a conundrum: How to pull fields from the current User record? The documentation and quick-start expenses app show how to pull a list of records and then to choose one from those, but I wanted something different. After perusing Reid Carlberg’s post about Lightning components, I had my answer. I won’t […]