I'm building a Lightning Component for a record detail page. For this Lightning Component I need some data of the record itself. I found something really cool that fits my needs but can't seem to get it working because of a strange error.
I've used the Salesforce Data Service to load the data of the concurring record. Explained in the Developer Guide here: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service_load_record.htm
When I try to save the example I'm getting the following error:
Failed to save undefined: No COMPONENT named recordPreview found: Source
Did anyone else encountered this before and was able to fix it?