AF Core Component templates, theme is configured through a default config folder reference property sling:configRef not working | Community
Skip to main content
Level 5
July 17, 2025
Solved

AF Core Component templates, theme is configured through a default config folder reference property sling:configRef not working

  • July 17, 2025
  • 1 reply
  • 1318 views

AF Core Component templates, theme is configured through a default config folder reference property sling:configRef not working(unlike AF foundation af templates, theme configuration for AF core component af templates is not exposed via template editor.)

For core component templates, theme is configured through a default config folder reference property sling:configRef at <template>/initial/jcr:content node level.
Refer below screenshot for <template>/initial/jcr:content 



 

 



Best answer by pankajpr

Yes, at present the form creation wizard for 6.5 doesn't pick theme from the theme configured in the templates, it keeps canvas theme selected by default. User needs to change theme if he/she wants to use another theme.

1 reply

Sakshi5
Adobe Employee
Adobe Employee
July 23, 2025

@varaande In templates, theme is aligned, how site page templates refer to theme, and it can't be changed. But you can change the theme once you create the form.

varaandeAuthor
Level 5
July 23, 2025

@sakshi5 

If I understand correctly, it's currently not possible to set a custom theme client library at the core component template level in such a way that authors automatically inherit it when using the template—unless they explicitly select a different one.

We’ve observed that the default theme client library continues to point to:

/libs/fd/af/themes/corecomponents/canvas3-theme/clientlibs/forms-clientlib-site which resolves to "adaptiveform.theme.canvas3".


Below screen "Theme Client Libary " my intention to set to "dmaf.cc" Adative form Core Component Template level instead choose from dropdown list.

 

pankajprAdobe EmployeeAccepted solution
Adobe Employee
July 24, 2025

Yes, at present the form creation wizard for 6.5 doesn't pick theme from the theme configured in the templates, it keeps canvas theme selected by default. User needs to change theme if he/she wants to use another theme.