Pages held for deletion
When AEM can’t let someone delete a published page outright (the person or account doing it can’t deactivate the page), AEM does not remove it. It hides the page in the Sites console, marks it withdeleted and deletedBy on jcr:content, and starts a Request for Deletion workflow. Until an administrator approves the request, the page still exists. This is what “held for deletion” means here. A delete request on a page that is not published is not held in this way.
Where the check runs, Grady refuses to change a page in this state. It also refuses to copy one, or to create content under one. Nothing is written, and Grady tells you why. The message depends on what was asked.
If Grady was asked to change the page:
AEM is holding this page for deletion approval, so it’s hidden in the AEM Sites console. An AEM admin needs to approve the Request for Deletion, or remove the page’s deletion mark (deleted and deletedBy on jcr:content) if the request was stopped. Nothing was written.If Grady was asked to copy a held page, the message says it can’t copy the page because a copy would be hidden too, and gives the same two ways to clear the hold. To clear the hold, an AEM administrator approves the Request for Deletion or removes the deletion mark.
What the check covers
- Only a Task with a classic AEM connection is checked. The check reads the page’s
jcr:contentfrom the Sling author. A Task that has only a standalone AEM OpenAPI integration skips the check, even if another environment in your organization has a classic connection. When the Task does have a classic connection, page writes through OpenAPI are checked too, if that author can read the page. - It checks the pages each request names. For a copy it checks the source. For a create it also checks the nearest existing page above the new one. For a launch promotion started by Grady it checks the launch, its root and its source page. For a rollout started by Grady it checks the blueprint and the selected targets. A clean child page of a held page can still receive new content. Pages AEM works out on its own, for example the other pages of a full launch promotion, are not named in the request and are not checked.
- It runs when the change is requested. Planning a change without making it (a dry run) is not checked. Promotions started from the artifact menu are not checked for held pages, and this page does not describe the artifact menu’s own checks.
- If AEM can’t answer in time, Grady allows the change. Each read has a short time limit, and the whole check has about ten seconds. A page Grady could not read within that time is allowed, so a slow author never blocks a write. This check is a safeguard, not a guarantee.
- Reading is unaffected. Grady can still read a held page. Its page details show when the hold started and who requested it.
Copied pages start unpublished
AEM’s own copy keeps the source page’s publish status and deletion marks. After Grady copies a page, or creates a new Experience Fragment, it removes those from the new page’sjcr:content: the copied publish-status properties (cq:lastReplicat… and cq:lastPublished…) and the deleted and deletedBy marks. The new page then:
- Starts unpublished.
- Does not carry a deletion mark that came with the copy.