Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FORMS-8789 - [6.5] Remove Sling Context Aware configuration for theme required for CS only #1083

Merged
merged 1 commit into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
cq:template="/conf/${appId}/settings/wcm/templates/blank-af-v2"
jcr:primaryType="cq:PageContent"
sling:resourceType="${appId}/components/adaptiveForm/page"
#if ( $aemVersion == "cloud")
sling:configRef="/conf/${appId}/forms"
#end
guideComponentType="fd/af/templates">
<guideContainer
fd:version="2.1"
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/META-INF/archetype-post-generate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ if (includeForms == "n" && includeFormsenrollment == "n" && includeFormscommunic
}
if ((includeForms == "y" || includeFormsenrollment == "y" || includeFormscommunications == "y" || includeFormsheadless == "y") && aemVersion != "cloud") {
assert new File("$appsFolder/components/formsandcommunicationportal").deleteDir();
//For 6.5 remove sling context aware configuration for theme association with core component af template
assert new File("$confFolder/forms").deleteDir()
}


Expand Down