How do I render a specific document in a controller action (e.g. after forwarding)?
In Pimcore 4 I could (in an action) do:
$this->setDocument( Document::getByPath('/docname') );
however in Pimcore 5 this no longer exists and trying to call Document\Service::render reports Property “document” is a request attribute and can’t be set on the controller instance.