Issue Feature New Orphaned

#109721Allow to preview hidden records via GET-Parameter

Daniel Siepmann 04/28/26, 05:37 updated 04/28/26, 05:38

Description

TYPO3 already has a centralized logic to add necessary simulation parameters to URLs within TYPO3\CMS\Backend\Routing\PreviewUriBuilder->getAdditionalQueryParametersForAccessRestrictedPages().

Despite its name, this also works well for records, see: https://github.com/georgringer/news/issues/2796

One thing does not work though, that is preview of hidden records. There is no parameter yet to trigger preview of hidden records, as the implementation currently only targets pages.
The current logic to preview hidden pages is done within TYPO3\CMS\Frontend\Middleware\PreviewSimulator.

It would be cool to open the logic for other records as well and to attach a ?ADMCMD_simHidden=1 parameter or alike to trigger preview of hidden records on demand.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] Allow to preview hidden records via GET-Parameter Resolves: #109721 Releases: main