An example from the documentation produces an error.
Thank you for reporting!
The error appeared, because the link property refers to a nonexistent view.
Here's a working example:
It looks like you're new here. If you want to get involved, click one of these buttons!