Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 11 - Optional: Update CONGA configuration

If you are using CONGA you may have defined a override rule like this in your AEM system configuration template:

Code Block
noformat
noformat
{{#if configOverrides}}
  # Override site configuration
  io.wcm.config.core.override.impl.OsgiConfigOverrideProvider-override
    enabled=B"true"
    description="Site URL Config Overrides"
    overrides=[
      {{~#each configOverrides ~}}
        {{~#each this ~}}
          "[{{../@key}}]{{@key}}\={{this}}",
        {{~/each ~}}
      {{~/each ~}}
    ]
{{/if}}

Change it to:

No Format
{{#if configOverrides}}
  # Override site configuration
  org.apache.sling.caconfig.impl.override.OsgiConfigurationOverrideProvider-override
    enabled=B"true"
    description="Site URL Config Overrides"
    overrides=[
      {{~#each configOverrides ~}}
        {{~#each this ~}}
          "[{{../@key}}]{{this}}",
        {{~/each ~}}
      {{~/each ~}}
    ]
{{/if}}

and use a syntax like this in the environment definitions to configure overrides:

No Format
  # Force-Override site URLs in all site configs on the system
  configOverrides:
    "/content/myapp":
    - io.wcm.handler.url.SiteConfig/siteUrl="http://www.myapp.net"
    - io.wcm.handler.url.SiteConfig/siteUrlSecure="https://www.myapp.net"
    - io.wcm.handler.url.SiteConfig/siteUrlAuthor="https://author.myapp.net"


Filter by label (Content by label)
showLabelsfalse
max5
spacesWCMIO
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "migration" and type = "page" and space = "WCMIO"
labelskb-troubleshooting-article

...