I want to have a checkbox checked by default on the page properties of a page created using editable template unless we go and uncheck it, and tried adding checked = {Boolean} true for the property,but this does not seem to be working for pages created from editable templates. The first time on opening page properties it appears checked but on adding a component to the page and then checking the page properties , it is back to its unchecked state.
Any help would be appreciated.
Thank you in advance
Solved! Go to Solution.
Views
Replies
Total Likes
I have tried with below field entries and it's working for me -
I am using AEM 6.5 here and checkbox is able to retain 'checked' status after adding component on page also.
I have tried with we.retail editable template.
I have tried with below field entries and it's working for me -
I am using AEM 6.5 here and checkbox is able to retain 'checked' status after adding component on page also.
I have tried with we.retail editable template.
Adding checked = true, uncheckedValue=false, cq:hideOnEdit = false, cq:showOnCreate = true worked, but whenever we create an Experience fragment using editable template, a variation gets created by default and the checkbox remains unchecked in this default master variation whereas if we now create a new variation, the checkbox is checked.
Is this an expected behavior?
Yes, this is default behaviour.
Is there a way to have the check box of the default master variation also enabled by default?
Hi @SHIBANI06 , were you able to fix this issue? I am also facing the same issue with experience fragment.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies