This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
hi ,
I have a scenario where I am using a static template to render content based on page properties selected by the user, However we need to add a parsys to the template, which allows authors to add editable components to it.
I added the below code to add parsys at the end of the template rendering HTML ,
<div data-sly-resource="${ 'par' @ resourceType='wcm/foundation/components/parsys'}"></div>
However I am not able to add any components into the parsys for some reason.
Can you help ?
Thanks,
Samiksha
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @samikshaa223429 ,
You need to allow the components, which you want to configure in the parsys. You can achieve it either by going to 'Design' mode in page in author instance or can set it via code as well.
Notably, design mode is not offered on pages created using dynamic templates but in your case since you are using static template so it will be available.
Please check this old thread-
Hi @samikshaa223429 ,
You need to allow the components, which you want to configure in the parsys. You can achieve it either by going to 'Design' mode in page in author instance or can set it via code as well.
Notably, design mode is not offered on pages created using dynamic templates but in your case since you are using static template so it will be available.
Please check this old thread-
hi Ritesh,
Can you provide some details on how to set it via code?
I am not able to see the design mode option on the template i am currently using
Views
Replies
Total Likes
hi Ritesh,
Thank you for the solution. I added the following node under /etc/designs/project_folder , and it worked .
Thank you for the quick reply.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies