Hi Team,
I created a v2 of my component inside v2 folder but when I drop the component on page it's picking the v1 version of component.
Is something I'm missing I compared with core components versioning th eonly difference I found is
Is that we should follow nodes inside button for versions or we can folders as well?
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @Keerthi0555 ,
This should be an issue of parsys policy. Maybe your policy is allowed for only the v1 component. To make sure in your component jcr:title="Button (v1)" and jcr:title="Button (v2)" rename it for now and check the difference.
If so, allow the component v2 from by policy update.
Hello @Keerthi0555 ,
This should be an issue of parsys policy. Maybe your policy is allowed for only the v1 component. To make sure in your component jcr:title="Button (v1)" and jcr:title="Button (v2)" rename it for now and check the difference.
If so, allow the component v2 from by policy update.
Thank you, it's working now, is there a way we can inherit style policies as well from v1 version of component?
In a sense NO. Policies can be reused on another template.
In AEM we basically inherited the /apps part.
When you configure the v2 component policy it will create another node based on your project structure.
it's not working
Hi @Keerthi0555
Can you please check sling resourceSupertype for your proxy component, it should be pointing to v2 version of your component.
it's pointing to v2 version of component.
@Keerthi0555 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies