Context / Problem to solve / Design
In Java modules, it is possible to declare a template as "hidden". Hidden templates allow to create pages with this template programmatically or via import but doesn't list the template as available for users. It is needed to finally close the MFA initiative.
Story
As a developer
I want to create hidden templates in jsm
Testable scenarios
Setup
Given I'm writing a new JSM template
Case 1
When I declare a template
jahiaComponent(
{
nodeType: "jnt:page",
name: "home",
displayName: "Home page",
componentType: "template",
hiddent: true
}
Then my template isn't listed in the choice for the user in jcontent