Hi,
I need to hook into the backend to modify a custom domain object with external data via API every time the sysfolder with the custom domain objects is loaded. My Idea was to use the ‘renderPreProcess’ hook of BackendController and update the data when the page id of the specific sysfolder matches the page id in the request object.
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['renderPreProcess'][] = \MyVendor\Sitepackage\Hooks\BackendControllerHook::class . '->loadExternalData';
The problem is that the hook is called only once, when typo3 backend is loaded. Navigating through the pages does not trigger the hook anymore.
Is there another hook for this purpose?