We are on AEM 6.2 SP1. We recently deprecated some templates and we changed the allowedPaths on the template so that they wont be available on our site paths.
Our users are not liking it as there are many pages associated with those templates and when they try to Copy and Paste those pages, it wont work.
Is there a way we can not show these templates while page is getting created but it can be copy pasted when needed?
I do not think AEM Supports this level of functionality. If the static template allowed paths setting is not valid - you cannot make it valid when you attempt to copy and paste an AEM page.
PS - A lot of the AEM community are using Editable Templates.
Use a higher 'rank' value to push it down to the bottom or just tweak these properties:
|allowedChildren||String||Path of a template that is allowed to be a child of this template.|
|allowedParents||String||Path of a template that is allowed to be a parent of this template.|
|allowedPaths||String||Path of a page that is allowed to be based on this template.|
|ranking||Long||Rank of the template. Used to display the template in the User Interface.|