A developer creates Editable Templates based on a custom Page component. The developer wants to leverage the Style Syste

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

A developer creates Editable Templates based on a custom Page component. The developer wants to leverage the Style Syste

Post by answerhappygod »

A developer creates Editable Templates based on a custom Page component. The developer wants to leverage the Style System within the Editable Templates to allow authors to switch between the Dark and Light Theme. The Style System dialog is NOT enabled for the site.
What should the developer do to resolve this issue?

A. Define Style Definitions using Page Policy dialog on Editable Template.
B. Create two new client libraries with a dark and light theme and map them to the Page component.
C. Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component.
D. Create a new dialog for the custom Page components.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply