// No need to check for "read" permission within single-record methods, as that has already been checked
current.response.view = "simple.html"
output = {"item": "tbc"}
elif r.representation == "pdf":
raise NotImplementedError
After Change
if r.name == "target":
// No need to check for "read" permission within single-record methods, as that has already been checked
if r.interactive:
data = self.extract(r)
return self.html(data)
elif r.representation == "pdf":
data = self.extract(r)